summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_wait4.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_wait4.py')
-rw-r--r--Lib/test/test_wait4.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_wait4.py b/Lib/test/test_wait4.py
index 027e5c3..711fd2d 100644
--- a/Lib/test/test_wait4.py
+++ b/Lib/test/test_wait4.py
@@ -3,7 +3,7 @@
import os
from test.fork_wait import ForkWait
-from test.test_support import TestSkipped, run_unittest
+from test.test_support import TestSkipped, run_unittest, reap_children
try:
os.fork
@@ -24,6 +24,7 @@ class Wait4Test(ForkWait):
def test_main():
run_unittest(Wait4Test)
+ reap_children()
if __name__ == "__main__":
test_main()