]> granicus.if.org Git - python/commit
bpo-31178: Mock os.waitpid() in test_subprocess (#3896)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 5 Oct 2017 13:32:53 +0000 (06:32 -0700)
committerGitHub <noreply@github.com>
Thu, 5 Oct 2017 13:32:53 +0000 (06:32 -0700)
commit11045c9d8a21dd9bd182a3939189db02815f9783
tree903e5118d74be3c25744c69080f5ceca44283da6
parentc1c47c166b1012d34f2c6e111ee9ccb5c4d12de7
bpo-31178: Mock os.waitpid() in test_subprocess (#3896)

Fix test_exception_errpipe_bad_data() and
test_exception_errpipe_normal() of test_subprocess: mock os.waitpid()
to avoid calling the real os.waitpid(0, 0) which is an unexpected
side effect of the test.
Lib/test/test_subprocess.py