]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-109832: concurrent.futures test_deadlock restores sys.stderr (GH-109887...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 26 Sep 2023 11:08:27 +0000 (04:08 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Sep 2023 11:08:27 +0000 (11:08 +0000)
commitbda6949e860227873432dd1e3732127f5835baed
treeba833a5a7c229cb0ac950621d5ddfffefc26626a
parent8fef834f055d6c6311d022eba2a8a22b4348fa95
[3.11] gh-109832: concurrent.futures test_deadlock restores sys.stderr (GH-109887) (#109893)

gh-109832: concurrent.futures test_deadlock restores sys.stderr (GH-109887)

test_error_at_task_unpickle() and
test_error_during_result_unpickle_in_result_handler() now restore
sys.stderr which is overriden by _raise_error_ignore_stderr().
(cherry picked from commit 2897142d2ec0930a8991af964c798b68fb6dcadd)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_concurrent_futures/test_deadlock.py