Skip to content

Commit ed55be8

Browse files
committed
Do not clear scopes between test because it breaks potel tests
1 parent 892cdde commit ed55be8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/conftest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ def benchmark():
6464
from sentry_sdk import scope
6565
import sentry_sdk.integrations.opentelemetry.scope as potel_scope
6666

67+
6768
# Disabling this, because this leads in Potel to Celery tests failing
68-
# TODO: Check if disabling this broke a bunch of other test (not sure how to do this)
69+
# TODO: Check if disabling this broke a bunch of other test (not sure how to do)
6970
# @pytest.fixture(autouse=True)
7071
def clean_scopes():
7172
"""
@@ -80,7 +81,7 @@ def clean_scopes():
8081

8182

8283
@pytest.fixture(autouse=True)
83-
def internal_exceptions(request):git
84+
def internal_exceptions(request):
8485
errors = []
8586
if "tests_internal_exceptions" in request.keywords:
8687
return

0 commit comments

Comments
 (0)