diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2009-12-08 19:25:51 (GMT) |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-12-08 19:25:51 (GMT) |
| commit | 8c54e7819add95f28dd6dc3a4bfcb9ca596b1073 (patch) | |
| tree | f2051a999e5617e6ba3080165f9849ebb2413e99 /Lib/test/script_helper.py | |
| parent | a254302f52ac294bb3832bf7be8e6a2274a19dca (diff) | |
| download | cpython-8c54e7819add95f28dd6dc3a4bfcb9ca596b1073.zip cpython-8c54e7819add95f28dd6dc3a4bfcb9ca596b1073.tar.gz cpython-8c54e7819add95f28dd6dc3a4bfcb9ca596b1073.tar.bz2 | |
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.py | 3 |
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 |
