[stream-refactor] avoid os.wait3() for Py2.4.

pull/607/head
David Wilson 5 years ago
parent 321dac3046
commit bd80d4b0af

@ -343,7 +343,7 @@ class TestCase(unittest2.TestCase):
def _teardown_check_zombies(self): def _teardown_check_zombies(self):
try: try:
pid, status, ru = os.wait3(os.WNOHANG) pid, status = os.waitpid(0, os.WNOHANG)
except OSError: except OSError:
return # ECHILD return # ECHILD

Loading…
Cancel
Save