mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Add a comment to explain why we are calling _cleanup()
This commit is contained in:
parent
00ac0d22f3
commit
4b16de4350
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ class CmdLineTest(unittest.TestCase):
|
|||
infp.close()
|
||||
data = outfp.read()
|
||||
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()
|
||||
return data
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue