From 0698638d797ca864f069d828dd2ea6d55b87a04e Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 30 Jan 2015 00:11:42 +0100 Subject: asyncio: Fix ResourceWarning in test_subprocess.test_proc_exit() --- Lib/test/test_asyncio/test_subprocess.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit v0.12