Skip to content

Commit 19c4069

Browse files
test(sessions): Remove unnecessary line (#3418)
We removed this line in #3354 since it is no longer needed, but it was apparently accidentally added back in #3357.
1 parent da0392f commit 19c4069

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_sessions.py

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def test_aggregates(sentry_init, capture_envelopes):
5353
with auto_session_tracking(session_mode="request"):
5454
with sentry_sdk.new_scope() as scope:
5555
try:
56-
scope = sentry_sdk.get_current_scope()
5756
scope.set_user({"id": "42"})
5857
raise Exception("all is wrong")
5958
except Exception:

0 commit comments

Comments
 (0)