Mercurial > cpython-lru_cache-weakref
changeset 57615:83c2bf3191d8 legacy-trunk
Fix the transient refleaks in test_zipimport_support.
Diagnosis and original patch by Florent Xicluna (flox).
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Tue, 08 Dec 2009 19:25:51 +0000 |
| parents | 24ffb0a3ae4b |
| children | e728ae89ae69 |
| files | Lib/test/script_helper.py Misc/ACKS |
| diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Lib/test/script_helper.py Tue Dec 08 16:32:52 2009 +0000 +++ b/Lib/test/script_helper.py Tue Dec 08 19:25:51 2009 +0000 @@ -30,7 +30,8 @@ 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
