summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-29 23:11:42 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-01-29 23:11:42 (GMT)
commit0698638d797ca864f069d828dd2ea6d55b87a04e (patch)
tree1447e7c5c3292fcbca8f9c5836160f4db5bb8c62 /Lib
parent47cd10d7a903773f574fc93220dbca850067fa0c (diff)
downloadcpython-0698638d797ca864f069d828dd2ea6d55b87a04e.zip
cpython-0698638d797ca864f069d828dd2ea6d55b87a04e.tar.gz
cpython-0698638d797ca864f069d828dd2ea6d55b87a04e.tar.bz2
asyncio: Fix ResourceWarning in test_subprocess.test_proc_exit()
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_asyncio/test_subprocess.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py
index 4f197f3..d4b71b7 100644
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -87,6 +87,8 @@ class SubprocessTransportTests(test_utils.TestCase):
self.assertRaises(ProcessLookupError, transport.terminate)
self.assertRaises(ProcessLookupError, transport.kill)
+ transport.close()
+
class SubprocessMixin: