diff options
-rw-r--r-- | Lib/test/test_subprocess.py | 3 |
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") |