-
Notifications
You must be signed in to change notification settings - Fork 145
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
setup-plan option make event_loop become tuple #630
Comments
Thanks for the report and for the great reproducer! I can reproduce the issue. This is a bit of a head-scratcher to me. Pytest-asyncio reimplements a bunch of pytest functionality related to fixture evaluation, in order to support I hope that we can use more of the standard pytest functionality in the future, especially related to resolving fixtures requested by test functions. Until this issue is fixed, the only workaround that comes to my mind is using |
Hello, I run:
pytest --setup-plan -sv tests/test.py
in container imagepython:3.11
and received the following error:It seems that
--setup-plan
causedloop
value became(None, 0, None)
instead of event loop instance.Here is
tests/test.py
:Python version: 3.11.6
pip freeze:
The text was updated successfully, but these errors were encountered: