-
Notifications
You must be signed in to change notification settings - Fork 159
pytest-asyncio 0.22.0 will cause pytest INTERNALERROR when encounter module level pytest.skip #655
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
Comments
This was referenced Oct 31, 2023
hynek
added a commit
to hynek/stamina
that referenced
this issue
Oct 31, 2023
Thanks, great reproducer and bug report! pytest-asyncio does have tests for |
gentoo-bot
pushed a commit
to gentoo/gentoo
that referenced
this issue
Nov 2, 2023
Bug: pytest-dev/pytest-asyncio#655 Signed-off-by: Michał Górny <[email protected]>
9 tasks
1 task
The code triggering the internal error no longer exists on main. Pytest-asyncio v0.22.0 has been yanked from PyPI and there are no plans for a patch release for v0.22. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After upgrading to version 0.22.0, we noticed that when
pytest-asyncio
collects the tests, if there is a module-levelpytest.skip
, it causes an INTERNALERROR instead of skipping the test file.Minimal Repo
With
pytest-asyncio
0.21.1, runningpython -m pytest
will output:With
pytest-asyncio
0.22.0, runningpython -m pytest
will output:The text was updated successfully, but these errors were encountered: