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

Avoid event loop deprecation warning #160

Closed
chanhosuh opened this issue Jul 11, 2023 · 0 comments · Fixed by #212
Closed

Avoid event loop deprecation warning #160

chanhosuh opened this issue Jul 11, 2023 · 0 comments · Fixed by #212
Assignees
Labels
good first issue Good for newcomers

Comments

@chanhosuh
Copy link
Member

DeprecationWarning: There is no current event loop
    loop = event_loop or asyncio.get_event_loop()

appears when running tests via pytest

Further info here:
https://stackoverflow.com/questions/73884117/how-to-replace-asyncio-get-event-loop-to-avoid-the-deprecationwarning

Should fix as there is a possible future breakage with Python 3.11

@chanhosuh chanhosuh added the good first issue Good for newcomers label Jul 11, 2023
@chanhosuh chanhosuh changed the title Avoid even loop deprecation warning Avoid event loop deprecation warning Jul 23, 2023
@allt0ld allt0ld mentioned this issue Aug 24, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants