diff --git a/tests/testlib.py b/tests/testlib.py index 762d0c6a..e0ab827d 100644 --- a/tests/testlib.py +++ b/tests/testlib.py @@ -343,7 +343,7 @@ class TestCase(unittest2.TestCase): def _teardown_check_zombies(self): try: - pid, status, ru = os.wait3(os.WNOHANG) + pid, status = os.waitpid(0, os.WNOHANG) except OSError: return # ECHILD