[stream-refactor] avoid os.wait3() for Py2.4.
This commit is contained in:
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…
Reference in New Issue