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

This commit is contained in:
David Wilson 2019-07-23 17:30:46 +01:00
parent 321dac3046
commit bd80d4b0af
1 changed files with 1 additions and 1 deletions

View File

@ -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