Skip to content
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

test(basics): Replace push_scope #3353

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

szokeasaurusrex
Copy link
Member

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 szokeasaurusrex linked an issue Jul 26, 2024 that may be closed by this pull request
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 szokeasaurusrex force-pushed the szokeasaurusrex/configure-scope-3-deprecation branch from 6ad6b96 to 6f11f50 Compare July 26, 2024 11:57
Base automatically changed from szokeasaurusrex/configure-scope-3-deprecation to master July 26, 2024 13:27
@szokeasaurusrex szokeasaurusrex merged commit 20ed5b7 into master Jul 26, 2024
120 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/push_scope-0 branch July 26, 2024 13:27
arjennienhuis pushed a commit to arjennienhuis/sentry-python that referenced this pull request 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop using sentry_sdk.push_scope in SDK
3 participants