summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_gc.py2
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)