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:
Victor Stinner
2015-02-17 23:34:16 +01:00
parent c18c4d06bb
commit e147802bca

View File

@@ -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