[issue47076] test_asyncio: test_get_cancelled() fails randomly on x86-64 macOS 3.x

STINNER Victor report at bugs.python.org
Mon Mar 21 08:57:42 EDT 2022


STINNER Victor <vstinner at python.org> added the comment:

> Again a relative short timeouts and super slow test boxes.

The problem is more that a sleep is not a reliable synchronization primitive:
https://pythondev.readthedocs.io/unstable_tests.html#don-t-use-sleep-as-synchronization

----------

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


More information about the Python-bugs-list mailing list