From: Neal Norwitz Date: Mon, 17 Apr 2006 02:41:25 +0000 (+0000) Subject: Add a comment to explain why we are calling _cleanup() X-Git-Tag: v2.5a2~174 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b16de435018e1bed38f9cea363b7533d3dff80e;p=python Add a comment to explain why we are calling _cleanup() --- diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py index 3fa7930451..018bec6368 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