summaryrefslogtreecommitdiffstats
path: root/Lib/test/script_helper.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-12-08 19:27:24 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-12-08 19:27:24 (GMT)
commit4e7dc5fae919210598d68f740d9d7d4c3af412f6 (patch)
tree775684a7e190b348d2c1f13f60dba8423a8d80b8 /Lib/test/script_helper.py
parent309608b43499bffdd7c65c05fd91b659945d2388 (diff)
downloadcpython-4e7dc5fae919210598d68f740d9d7d4c3af412f6.zip
cpython-4e7dc5fae919210598d68f740d9d7d4c3af412f6.tar.gz
cpython-4e7dc5fae919210598d68f740d9d7d4c3af412f6.tar.bz2
Merged revisions 76716 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r76716 | antoine.pitrou | 2009-12-08 20:25:51 +0100 (mar., 08 déc. 2009) | 4 lines Fix the transient refleaks in test_zipimport_support. Diagnosis and original patch by Florent Xicluna (flox). ........
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