From e7a2f64435d795712a766a088541b43dc7cee5b7 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 17 Feb 2015 23:36:02 +0100 Subject: asyncio: Fix warning in test_close_kill_running() Read process exit status to avoid the "Caught subprocess termination from unknown pid" message. --- Lib/test/test_asyncio/test_subprocess.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index 92bf1b4..5ccdafb 100644 --- a/Lib/test/test_asyncio/test_subprocess.py +++ b/Lib/test/test_asyncio/test_subprocess.py @@ -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 -- cgit v0.12