Commit 339d5e7d authored by Yury Selivanov's avatar Yury Selivanov

Fix asyncio unittests in debug mode

parent 29a602a1
......@@ -252,6 +252,8 @@ def _format_coroutine(coro):
if isinstance(coro, CoroWrapper):
func = coro.func
coro_name = coro.__qualname__
if coro_name is not None:
coro_name = '{}()'.format(coro_name)
else:
func = coro
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment