Skip to content
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

pytest-asyncio DeprecationWarning for event_loop #534

Open
korikuzma opened this issue Feb 8, 2024 · 0 comments
Open

pytest-asyncio DeprecationWarning for event_loop #534

korikuzma opened this issue Feb 8, 2024 · 0 comments
Labels
priority:low Low priority test Changes to test code only

Comments

@korikuzma
Copy link
Member

DeprecationWarning: The event_loop fixture provided by pytest-asyncio has been redefined in
tests/conftest.py:16
Replacing the event_loop fixture with a custom implementation is deprecated
and will lead to errors in the future.
If you want to request an asyncio event loop with a scope other than function
scope, use the "scope" argument to the asyncio mark when marking the tests.
If you want to return different types of event loops, use the event_loop_policy
fixture.

@korikuzma korikuzma added priority:low Low priority test Changes to test code only labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:low Low priority test Changes to test code only
Projects
None yet
Development

No branches or pull requests

1 participant