STINNER Victor <[email protected]> added the comment:
With my msg367463 patch (add sleep), test_cancel_futures() fails. Example:
======================================================================
FAIL: test_cancel_futures
(test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vstinner/python/master/Lib/test/test_concurrent_futures.py", line
353, in test_cancel_futures
self.assertTrue(len(cancelled) >= 35, msg=f"{len(cancelled)=}")
AssertionError: False is not true : len(cancelled)=0
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39995>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com