mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
asyncio: Fix ResourceWarning in test_subprocess.test_proc_exit()
This commit is contained in:
parent
47cd10d7a9
commit
0698638d79
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ class SubprocessTransportTests(test_utils.TestCase):
|
|||
self.assertRaises(ProcessLookupError, transport.terminate)
|
||||
self.assertRaises(ProcessLookupError, transport.kill)
|
||||
|
||||
transport.close()
|
||||
|
||||
|
||||
class SubprocessMixin:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue