Wei-Cheng Pan <legnale...@gmail.com> added the comment:
I cannot import asyncio.task, so I did this instead: import asyncio.tasks asyncio.tasks.Task = asyncio.tasks._PyTask Then it changed to this: Executing <Task pending name='Task-1' coro=<IsolatedAsyncioTestCase._asyncioLoopRunner() running at /.../lib/python3.8/unittest/async_case.py:96> wait_for=<Future pending cb=[Task.__wakeup()] created at /.../lib/python3.8/asyncio/base_events.py:418> created at /.../lib/python3.8/unittest/async_case.py:118> took 0.187 seconds I suppose this means the entire test case is slow? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38608> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com