mirror of https://github.com/python/cpython.git
asyncio: Fix ResourceWarning in test_subprocess.test_proc_exit()
This commit is contained in:
parent
47cd10d7a9
commit
0698638d79
|
@ -87,6 +87,8 @@ def test_proc_exited(self):
|
|||
self.assertRaises(ProcessLookupError, transport.terminate)
|
||||
self.assertRaises(ProcessLookupError, transport.kill)
|
||||
|
||||
transport.close()
|
||||
|
||||
|
||||
class SubprocessMixin:
|
||||
|
||||
|
|
Loading…
Reference in New Issue