From: Victor Stinner Date: Mon, 3 Jan 2011 16:36:00 +0000 (+0000) Subject: test_subprocess: close pipes at the end of test_pipe_cloexec_real_tools() X-Git-Tag: v3.2rc1~224 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=faa8c13ef43eda21a363524a7eb0ff1b361bbe67;p=python test_subprocess: close pipes at the end of test_pipe_cloexec_real_tools() --- diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index f1c91435b5..8b2699db05 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1022,6 +1022,9 @@ class POSIXProcessTestCase(BaseTestCase): self.assertTrue(readfiles, "The child hung") self.assertEqual(p2.stdout.read(), data) + p1.stdout.close() + p2.stdout.close() + def test_close_fds(self): fd_status = support.findfile("fd_status.py", subdir="subprocessdata")