From: Victor Stinner Date: Thu, 29 Jan 2015 23:11:42 +0000 (+0100) Subject: asyncio: Fix ResourceWarning in test_subprocess.test_proc_exit() X-Git-Tag: v3.4.3rc1~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0698638d797ca864f069d828dd2ea6d55b87a04e;p=python asyncio: Fix ResourceWarning in test_subprocess.test_proc_exit() --- diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index 4f197f394a..d4b71b7a5a 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: