bpo-31160: test_builtin: don't check waitpid() status (#3050)
This commit is contained in:
parent
da5e930187
commit
3ca9f50f96
|
@ -1569,8 +1569,8 @@ class PtyTests(unittest.TestCase):
|
||||||
% (len(lines), child_output))
|
% (len(lines), child_output))
|
||||||
os.close(fd)
|
os.close(fd)
|
||||||
|
|
||||||
pid, status = os.waitpid(pid, 0)
|
# Wait until the child process completes
|
||||||
self.assertEqual(status, 0)
|
os.waitpid(pid, 0)
|
||||||
|
|
||||||
return lines
|
return lines
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue