-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop using sentry_sdk.push_scope
in SDK
#3345
Comments
szokeasaurusrex
added a commit
that referenced
this issue
Jul 26, 2024
Most of the `push_scope` usages in `test_basics.py` need to stay, as they test functionality specific to `push_scope`. However, in `test_scope_event_processor_order`, the `push_scope` can be replaced with `new_scope`. We make this replacement here. Ref: #3345
szokeasaurusrex
added a commit
that referenced
this issue
Jul 26, 2024
All usages of `sentry_sdk.push_scope` in `test_sessions.py` can be replaced with `new_scope`. Closes: #3345
This was
linked to
pull requests
Jul 26, 2024
szokeasaurusrex
added a commit
that referenced
this issue
Jul 26, 2024
Most of the `push_scope` usages in `test_basics.py` need to stay, as they test functionality specific to `push_scope`. However, in `test_scope_event_processor_order`, the `push_scope` can be replaced with `new_scope`. We make this replacement here. Ref: #3345
arjennienhuis
pushed a commit
to arjennienhuis/sentry-python
that referenced
this issue
Sep 30, 2024
Most of the `push_scope` usages in `test_basics.py` need to stay, as they test functionality specific to `push_scope`. However, in `test_scope_event_processor_order`, the `push_scope` can be replaced with `new_scope`. We make this replacement here. Ref: getsentry#3345
arjennienhuis
pushed a commit
to arjennienhuis/sentry-python
that referenced
this issue
Sep 30, 2024
All usages of `sentry_sdk.push_scope` in `test_sessions.py` can be replaced with `new_scope`. Closes: getsentry#3345
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We appear to mostly be using
push_scope
in tests. These usages should be removed, unless the test primarily exists to verify thatpush_scope
continues to work even after being deprecated.The text was updated successfully, but these errors were encountered: