]> granicus.if.org Git - python/commit
bpo-30356: Fix test_mymanager_context() of multiprocessing (GH-7968)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 Jun 2018 16:45:01 +0000 (09:45 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Jun 2018 16:45:01 +0000 (09:45 -0700)
commita599323fc7661668a01e9fbb0d2369e62941bdf1
treea04d5cf87a8b604a0cd594f67412f64c9e0f9d78
parentacda5ea916f4233ab90ca7b4d28af735aa962af3
bpo-30356: Fix test_mymanager_context() of multiprocessing (GH-7968)

test_mymanager_context() now also accepts -SIGTERM as an expected
exitcode for the manager process. The process is killed with SIGTERM
if it takes longer than 1 second to stop.
(cherry picked from commit fbd7172325e6ce55b6d5d3d7603e4c1c8a219cb8)

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