]> 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:37:23 +0000 (16:37 -0800)
committerGitHub <noreply@github.com>
Wed, 28 Nov 2018 00:37:23 +0000 (16:37 -0800)
commitdd5293871703e6a12ffdde14eeaa86a73b7b0d99
tree9a3cc0ad66b8cb19ca5741d20e6a74e185dce3f4
parentd5c8bd8e4cc04873254f0bd38895a6479c23c8aa
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