]> granicus.if.org Git - python/commit
bpo-35424: Fix test_multiprocessing_main_handling (GH-11223)
authorVictor Stinner <vstinner@redhat.com>
Tue, 18 Dec 2018 22:54:33 +0000 (23:54 +0100)
committerGitHub <noreply@github.com>
Tue, 18 Dec 2018 22:54:33 +0000 (23:54 +0100)
commit6cdce3ddef805e11d75142f3e20e23c3fe21fdf4
tree35d1df305a3c5a1332b8ab73d14f1b533afe0641
parent05c9d31eb62cc45dc3c55a5cdb7cbc713d0421db
bpo-35424: Fix test_multiprocessing_main_handling (GH-11223)

Fix test_multiprocessing_main_handling: use multiprocessing.Pool with
a context manager and then explicitly join the pool.
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]