[issue38608] Undocumented behavior that IsolatedAsyncioTestCase would enable event loop debug mode

Andrew Svetlov report at bugs.python.org
Tue Nov 5 06:09:55 EST 2019


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

Thanks for the clarification.
I forgot about this thing; the output can be improved sure.
As a workaround you can use the following hack::

import asyncio.task
asyncio.task.Task = asyncio.task._PyTask

IIRC the pure python version prints a coroutine name at least.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38608>
_______________________________________


More information about the Python-bugs-list mailing list