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

Bugfix for pytest plugins set to hypothesis pytestplugin (#12647) #13318

Conversation

TobiMcNamobi
Copy link
Contributor

Fixes #12647.

Indeed it's enough to add monkeypatch.delenv("PYTEST_PLUGINS", raising=False) to the failing tests, as the @mtelka suggested.

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Mar 21, 2025
@TobiMcNamobi TobiMcNamobi force-pushed the Bugfix_for_PYTEST_PLUGINS_set_to__hypothesis_pytestplugin branch from fdb019c to 41f751c Compare March 21, 2025 16:03
@nicoddemus nicoddemus force-pushed the Bugfix_for_PYTEST_PLUGINS_set_to__hypothesis_pytestplugin branch from 88bfc2a to 57af4ae Compare April 7, 2025 17:59
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @TobiMcNamobi! Sorry for the long delay here.

@nicoddemus nicoddemus added the backport 8.3.x apply to PRs at any point; backports the changes to the 8.3.x branch label Apr 7, 2025
@nicoddemus nicoddemus enabled auto-merge (squash) April 7, 2025 18:11
@nicoddemus nicoddemus merged commit 0286f64 into pytest-dev:main Apr 7, 2025
28 checks passed
Copy link

patchback bot commented Apr 7, 2025

Backport to 8.3.x: 💚 backport PR created

✅ Backport PR branch: patchback/backports/8.3.x/0286f64602f4b3a5d64bdfd832595cecbe1738d1/pr-13318

Backported as #13361

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 8.3.x apply to PRs at any point; backports the changes to the 8.3.x branch bot:chronographer:provided (automation) changelog entry is part of PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Three tests fails with PYTEST_PLUGINS set to _hypothesis_pytestplugin
2 participants