diff options
-rw-r--r-- | Lib/test/test_gc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_gc.py b/Lib/test/test_gc.py index 9de7c29..0e5a397 100644 --- a/Lib/test/test_gc.py +++ b/Lib/test/test_gc.py @@ -489,6 +489,8 @@ class GCTests(unittest.TestCase): stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout, stderr = p.communicate() + p.stdout.close() + p.stderr.close() self.assertEqual(p.returncode, 0) self.assertEqual(stdout.strip(), b"") return strip_python_stderr(stderr) |