summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cmd_line.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-04-17 02:41:25 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-04-17 02:41:25 (GMT)
commit4b16de435018e1bed38f9cea363b7533d3dff80e (patch)
tree3faddabc33ed34964fe8d294a339dec2b401013f /Lib/test/test_cmd_line.py
parent00ac0d22f3ce3b439bc93e7474a6e097e89ed94d (diff)
downloadcpython-4b16de435018e1bed38f9cea363b7533d3dff80e.zip
cpython-4b16de435018e1bed38f9cea363b7533d3dff80e.tar.gz
cpython-4b16de435018e1bed38f9cea363b7533d3dff80e.tar.bz2
Add a comment to explain why we are calling _cleanup()
Diffstat (limited to 'Lib/test/test_cmd_line.py')
-rw-r--r--Lib/test/test_cmd_line.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py
index 3fa7930..018bec6 100644
--- a/Lib/test/test_cmd_line.py
+++ b/Lib/test/test_cmd_line.py
@@ -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