[issue46340] DeprecationWarning emitted when running asyncio tests
Andrew Svetlov
report at bugs.python.org
Tue Jan 11 05:47:11 EST 2022
Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:
get_event_loop() is deprecated when there is no running event loop.
Otherwise, it is equal to get_running_loop() and IS NOT deprecated.
I think there is no reason to replace all occurrences where get_event_loop() works fine.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46340>
_______________________________________
More information about the Python-bugs-list
mailing list