-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Remove pytest_plugin #10762
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
base: master
Are you sure you want to change the base?
Remove pytest_plugin #10762
Conversation
❌ 13 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Missing change log? |
for more information, see https://pre-commit.ci
… drop-pytest-plugin
for more information, see https://pre-commit.ci
… drop-pytest-plugin
for more information, see https://pre-commit.ci
… drop-pytest-plugin
for more information, see https://pre-commit.ci
tests/conftest.py
Outdated
@@ -39,7 +39,8 @@ | |||
uvloop = None # type: ignore[assignment] | |||
|
|||
|
|||
pytest_plugins = ("aiohttp.pytest_plugin", "pytester") | |||
pytest_plugins = ("pytest_asyncio", "pytest_aiohttp", "pytester") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pytest_plugins = ("pytest_asyncio", "pytest_aiohttp", "pytester") | |
pytest_plugins = ("pytester",) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I originally intended to add pytest_aiohttp to enforce it as a required plugin. Might help downstream packagers avoid getting confused by the change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or we could just add a changelog fragment..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or we could do both...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just add a code comment explaining the motivation.
for more information, see https://pre-commit.ci
… drop-pytest-plugin
for more information, see https://pre-commit.ci
CodSpeed Performance ReportMerging #10762 will not alter performanceComparing Summary
Benchmarks breakdown
|
for more information, see https://pre-commit.ci
… drop-pytest-plugin
This will be maintained exclusively in pytest-aiohttp going forwards.