]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-116682: stdout may be empty in test_cancel_futures_wait_false (GH-116683...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 13 Mar 2024 00:29:03 +0000 (01:29 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2024 00:29:03 +0000 (00:29 +0000)
commita01621aeb4a9b4e9307aba1ff7a772af1de931f8
tree570d3654cff2a673edef1d4e8b001cc7d58c7046
parent0917338c78ebb16bee56c470f4c9eb92e3042184
[3.11] gh-116682: stdout may be empty in test_cancel_futures_wait_false (GH-116683) (#116693)

If the `shutdown()` call happens before the worker thread starts executing
the task, then nothing will be printed to stdout.
(cherry picked from commit 7d1abe9502641a3602e9773aebc29ee56d8f40ae)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Lib/test/test_concurrent_futures/test_shutdown.py