diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-02-17 23:34:16 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-02-17 23:34:16 +0100 |
commit | e147802bca02ca103264c5a10fb84457cd12abbf (patch) | |
tree | 4430fddf135f63d3c58a83f6d4dd549e68972714 | |
parent | c18c4d06bb6501e7192aa93dbe8af7de44c95386 (diff) | |
download | trollius-git-e147802bca02ca103264c5a10fb84457cd12abbf.tar.gz |
Fix warning in test_close_kill_running()
Read process exit status to avoid the "Caught subprocess termination from
unknown pid" message.
-rw-r--r-- | tests/test_subprocess.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_subprocess.py b/tests/test_subprocess.py index 92bf1b4..5ccdafb 100644 --- a/tests/test_subprocess.py +++ b/tests/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 |