mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
asyncio: Fix warning in test_close_kill_running()
Read process exit status to avoid the "Caught subprocess termination from unknown pid" message.
This commit is contained in:
parent
f91d845797
commit
e7a2f64435
1 changed files with 1 additions and 0 deletions
|
@ -367,6 +367,7 @@ class SubprocessMixin:
|
|||
proc.kill = kill
|
||||
returncode = transport.get_returncode()
|
||||
transport.close()
|
||||
yield from transport._wait()
|
||||
return (returncode, kill_called)
|
||||
|
||||
# Ignore "Close running child process: kill ..." log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue