Try fix Python 3.4 tests

This commit is contained in:
Roman Mogylatov 2020-07-27 22:43:01 -04:00
parent 8598b54ab1
commit 9161b01e97

View File

@ -20,7 +20,7 @@ def _example(arg1, arg2, arg3, arg4):
def _run(coro, debug=False):
if events._get_running_loop() is not None:
if asyncio._get_running_loop() is not None:
raise RuntimeError(
"asyncio.run() cannot be called from a running event loop")