summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-01-03 16:36:00 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-01-03 16:36:00 (GMT)
commitfaa8c13ef43eda21a363524a7eb0ff1b361bbe67 (patch)
treea88b6f5b00319070911d69badbdd140d48857a0b /Lib
parenta3abd1d2401c5c6d93518b01686db837ed5612c0 (diff)
downloadcpython-faa8c13ef43eda21a363524a7eb0ff1b361bbe67.zip
cpython-faa8c13ef43eda21a363524a7eb0ff1b361bbe67.tar.gz
cpython-faa8c13ef43eda21a363524a7eb0ff1b361bbe67.tar.bz2
test_subprocess: close pipes at the end of test_pipe_cloexec_real_tools()
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_subprocess.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index f1c9143..8b2699d 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")