]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33676: Fix dangling thread in _test_multiprocessing (GH-10755)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 28 Nov 2018 00:30:34 +0000 (16:30 -0800)
committerGitHub <noreply@github.com>
Wed, 28 Nov 2018 00:30:34 +0000 (16:30 -0800)
commit80db40cdd6a58c9d66694a43ee9a7c06ab958373
treea4cb948945385d05a42936577fd9502085f14e5f
parentad8ac54aa3d2323bdb5feb5e858a922840358187
bpo-33676: Fix dangling thread in _test_multiprocessing (GH-10755)

Fix WithThreadsTestPool.test_wrapped_exception()
of test_multiprocessing_fork: join the pool.

WithThreadsTestPool.test_del_pool() is now also decorated
with @support.reap_threads.
(cherry picked from commit b7278736b3ae158a7738057e3045bc767ced019e)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/_test_multiprocessing.py