]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35424: Fix test_multiprocessing_main_handling (GH-11223) (GH-11227)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 18 Dec 2018 23:43:27 +0000 (15:43 -0800)
committerVictor Stinner <vstinner@redhat.com>
Tue, 18 Dec 2018 23:43:27 +0000 (00:43 +0100)
commitc74e7c48ba4f8437d4c8b402098b8cefc33a28a9
treeae6c226a8643211940db41c23ea919e5b489c11c
parent729fc5d2acab9eb672c4804092236af5362a4c66
bpo-35424: Fix test_multiprocessing_main_handling (GH-11223) (GH-11227)

Fix test_multiprocessing_main_handling: use multiprocessing.Pool with
a context manager and then explicitly join the pool.
(cherry picked from commit 6cdce3ddef805e11d75142f3e20e23c3fe21fdf4)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_multiprocessing_main_handling.py
Misc/NEWS.d/next/Tests/2018-12-18-22-36-53.bpo-35424.1Pz4IS.rst [new file with mode: 0644]