]> granicus.if.org Git - python/commitdiff
Add a comment to explain why we are calling _cleanup()
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 17 Apr 2006 02:41:25 +0000 (02:41 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 17 Apr 2006 02:41:25 +0000 (02:41 +0000)
Lib/test/test_cmd_line.py

index 3fa7930451848a5917199e4e4c84329737f668dc..018bec6368bb1280c74a18faa69e8e966c4ddf56 100644 (file)
@@ -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