Skip to content

legacypath: support late-loading of pytester plugin#9286

Merged
bluetech merged 1 commit intopytest-dev:mainfrom
bluetech:legacypath-subplugins
Nov 9, 2021
Merged

legacypath: support late-loading of pytester plugin#9286
bluetech merged 1 commit intopytest-dev:mainfrom
bluetech:legacypath-subplugins

Conversation

@bluetech
Copy link
Member

@bluetech bluetech commented Nov 8, 2021

Fixes #9280. Closes #9284.

Previous approach didn't support pytester being loaded using pytest_plugins = "pytester" in a conftest.

Replaces #9284 while keeping the proper behavior instead of a revert.

Fixes pytest-dev#9280.

Previous approach didn't support pytester being loaded using
`pytest_plugins = "pytester"` in a conftest.
@bluetech bluetech merged commit d6e6b96 into pytest-dev:main Nov 9, 2021
@bluetech bluetech deleted the legacypath-subplugins branch November 15, 2021 11:22
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.

regression: testdir fixture not found with pytester plugin loaded

2 participants