bpo-31160: test_builtin: don't check waitpid() status (#3050)

This commit is contained in:
Victor Stinner 2017-08-09 23:08:22 +02:00 committed by GitHub
parent da5e930187
commit 3ca9f50f96
1 changed files with 2 additions and 2 deletions

View File

@ -1569,8 +1569,8 @@ class PtyTests(unittest.TestCase):
% (len(lines), child_output))
os.close(fd)
pid, status = os.waitpid(pid, 0)
self.assertEqual(status, 0)
# Wait until the child process completes
os.waitpid(pid, 0)
return lines