diff --git a/tests/test_sessions.py b/tests/test_sessions.py index 11f0314dda..9cad0b7252 100644 --- a/tests/test_sessions.py +++ b/tests/test_sessions.py @@ -215,6 +215,8 @@ def test_no_thread_on_shutdown_no_errors(sentry_init): sentry_sdk.get_isolation_scope().end_session() sentry_sdk.flush() + # If we reach this point without error, the test is successful. + def test_no_thread_on_shutdown_no_errors_deprecated( sentry_init, suppress_deprecation_warnings @@ -242,3 +244,5 @@ def test_no_thread_on_shutdown_no_errors_deprecated( sentry_sdk.get_isolation_scope().start_session(session_mode="request") sentry_sdk.get_isolation_scope().end_session() sentry_sdk.flush() + + # If we reach this point without error, the test is successful.