]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109832: concurrent.futures test_deadlock restores sys.stderr (GH-109887...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Oct 2023 15:37:25 +0000 (08:37 -0700)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2023 15:37:25 +0000 (17:37 +0200)
commit84f9da9ab52e476224baac8786ab104e80ff77ba
treee1214358f51ffaa233efaf38f7e74fb245d9a224
parent65c845e065d6ff7abc1abdc9c24bc7612a665161
[3.12] gh-109832: concurrent.futures test_deadlock restores sys.stderr (GH-109887) (#109892)

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