]> granicus.if.org Git - python/commit
bpo-31160: Fix test_random for zombie process (#3045)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 9 Aug 2017 15:59:05 +0000 (17:59 +0200)
committerGitHub <noreply@github.com>
Wed, 9 Aug 2017 15:59:05 +0000 (17:59 +0200)
commitda5e9301877346942fa4279612750d6a09e05153
treedf7134d70a089bb3271334581b118ac0b006f3c4
parente3510d74aacc477c30f42f2b941d69689bbc478e
bpo-31160: Fix test_random for zombie process (#3045)

TestModule.test_after_fork() now calls os.waitpid() to read the exit
status of the child process to avoid creating a zombie process.
Lib/test/test_random.py