diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-29 23:11:42 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-29 23:11:42 (GMT) |
commit | 0698638d797ca864f069d828dd2ea6d55b87a04e (patch) | |
tree | 1447e7c5c3292fcbca8f9c5836160f4db5bb8c62 /Lib | |
parent | 47cd10d7a903773f574fc93220dbca850067fa0c (diff) | |
download | cpython-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.py | 2 |
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: |