From 19c4069d6f97811ae72331f81c62973b4bf3b8af Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Thu, 8 Aug 2024 15:13:48 +0200 Subject: [PATCH] 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. --- tests/test_sessions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_sessions.py b/tests/test_sessions.py index c10b9262ce..7a75070274 100644 --- a/tests/test_sessions.py +++ b/tests/test_sessions.py @@ -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: