Kaydet (Commit) 4b16de43 authored tarafından Neal Norwitz's avatar Neal Norwitz

Add a comment to explain why we are calling _cleanup()

üst 00ac0d22
...@@ -10,6 +10,8 @@ class CmdLineTest(unittest.TestCase): ...@@ -10,6 +10,8 @@ class CmdLineTest(unittest.TestCase):
infp.close() infp.close()
data = outfp.read() data = outfp.read()
outfp.close() outfp.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.
popen2._cleanup() popen2._cleanup()
return data return data
......
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