mirror of
https://github.com/python/cpython.git
synced 2025-11-10 22:36:18 +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()
|
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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue