]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:28:21 +0000 (01:28 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2024 00:28:21 +0000 (00:28 +0000)
commit84c8925e136d22daab4c9172e272137f5b76d9cf
tree5de33652da2f873ee681814b12fc14afd011283b
parentacd7dc7ab06c5ee89155f10bf184af4839884fb6
[3.12] gh-116682: stdout may be empty in test_cancel_futures_wait_false (GH-116683) (#116692)

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