Skip to content

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

Merged
nicoddemus merged 3 commits intopytest-dev:mainfrom
TobiMcNamobi:Bugfix_for_PYTEST_PLUGINS_set_to__hypothesis_pytestplugin
Apr 7, 2025
Merged

Bugfix for pytest plugins set to hypothesis pytestplugin (#12647)#13318
nicoddemus merged 3 commits intopytest-dev:mainfrom
TobiMcNamobi:Bugfix_for_PYTEST_PLUGINS_set_to__hypothesis_pytestplugin

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
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 enabled auto-merge (squash) April 7, 2025 18:11
@nicoddemus nicoddemus merged commit 0286f64 into pytest-dev:main Apr 7, 2025
28 checks passed
@patchback
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.

@TobiMcNamobi TobiMcNamobi deleted the Bugfix_for_PYTEST_PLUGINS_set_to__hypothesis_pytestplugin branch April 24, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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