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

plugin: unconfigure should restore not unblock #1151

Merged
merged 3 commits into from
Sep 29, 2024

Conversation

bluetech
Copy link
Member

restore pops the block in _setup_django, while unblock pushes an unblock. We want to leave things clean, so should restore.

@bluetech
Copy link
Member Author

@boxed I didn't initially notice the unblock instead of restore in #1148.

@boxed
Copy link
Contributor

boxed commented Sep 28, 2024

I tried restore. That doesn't work.

`restore` pops the `block` in `_setup_django`, while `unblock` pushes an
unblock. We want to leave things clean, so should `restore`.
@bluetech
Copy link
Member Author

Hmm strange, I don't see how that can be. I made it a bit more aggressive now. Can you try it?

@boxed
Copy link
Contributor

boxed commented Sep 29, 2024

Yea, that works.

@bluetech bluetech merged commit 1ffc323 into pytest-dev:main Sep 29, 2024
17 checks passed
@bluetech bluetech deleted the unconfigure-restore branch September 29, 2024 14:55
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.

2 participants