summaryrefslogtreecommitdiffstats
path: root/Lib/test/script_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/script_helper.py')
-rw-r--r--Lib/test/script_helper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/script_helper.py b/Lib/test/script_helper.py
index af5252c..f291430 100644
--- a/Lib/test/script_helper.py
+++ b/Lib/test/script_helper.py
@@ -30,7 +30,8 @@ def kill_python(p):
data = p.stdout.read()
p.stdout.close()
# try to cleanup the child so we don't appear to leak when running
- # with regrtest -R. This should be a no-op on Windows.
+ # with regrtest -R.
+ p.wait()
subprocess._cleanup()
return data