From 4b16de435018e1bed38f9cea363b7533d3dff80e Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 17 Apr 2006 02:41:25 +0000 Subject: Add a comment to explain why we are calling _cleanup() --- Lib/test/test_cmd_line.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v0.12