Commit 0698638d authored by Victor Stinner's avatar Victor Stinner

asyncio: Fix ResourceWarning in test_subprocess.test_proc_exit()

parent 47cd10d7
...@@ -87,6 +87,8 @@ class SubprocessTransportTests(test_utils.TestCase): ...@@ -87,6 +87,8 @@ class SubprocessTransportTests(test_utils.TestCase):
self.assertRaises(ProcessLookupError, transport.terminate) self.assertRaises(ProcessLookupError, transport.terminate)
self.assertRaises(ProcessLookupError, transport.kill) self.assertRaises(ProcessLookupError, transport.kill)
transport.close()
class SubprocessMixin: class SubprocessMixin:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment