Wei-Cheng Pan <legnale...@gmail.com> added the comment:

> Usually, it is a sign of a problem in user code, e.g. something should be 
> pushed into executor.

Sometimes also happens on low-end CI machines.

And the message is somewhat unclear to me.
I have to grep cpython sources to understand that it is coming from debug mode 
and it means there is a slow awaitable ... in somewhere, because the displayed 
file:line is not always the right position.

> A test case is executed in debug mode. I think it is reasonable for the test 
> run, isn't it?

Probably.

> The mode can be disabled by `asyncio.get_running_loop().set_debug(False)` in 
> `asyncSetUp()` method.

Glad to know that. Thanks.

----------

_______________________________________
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

Reply via email to