Kaydet (Commit) 8c54e781 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix the transient refleaks in test_zipimport_support.

Diagnosis and original patch by Florent Xicluna (flox).
üst a254302f
...@@ -30,7 +30,8 @@ def kill_python(p): ...@@ -30,7 +30,8 @@ def kill_python(p):
data = p.stdout.read() data = p.stdout.read()
p.stdout.close() p.stdout.close()
# try to cleanup the child so we don't appear to leak when running # 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() subprocess._cleanup()
return data return data
......
...@@ -819,6 +819,7 @@ Gordon Worley ...@@ -819,6 +819,7 @@ Gordon Worley
Thomas Wouters Thomas Wouters
Heiko Wundram Heiko Wundram
Doug Wyatt Doug Wyatt
Florent Xicluna
Ka-Ping Yee Ka-Ping Yee
Bob Yodlowski Bob Yodlowski
Danny Yoo Danny Yoo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment