Skip to content

Commit

Permalink
test(sessions): Remove unnecessary line (getsentry#3418)
Browse files Browse the repository at this point in the history
We removed this line in getsentry#3354 since it is no longer needed, but it was apparently accidentally added back in getsentry#3357.
  • Loading branch information
szokeasaurusrex authored and arjenzorgdoc committed Sep 30, 2024
1 parent d002920 commit 34a9810
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def test_aggregates(sentry_init, capture_envelopes):
with auto_session_tracking(session_mode="request"):
with sentry_sdk.new_scope() as scope:
try:
scope = sentry_sdk.get_current_scope()
scope.set_user({"id": "42"})
raise Exception("all is wrong")
except Exception:
Expand Down

0 comments on commit 34a9810

Please sign in to comment.