From: Yury Selivanov Date: Tue, 29 May 2018 18:57:38 +0000 (-0400) Subject: Fix ci for 3.6 / asyncio / test_stdin_broken_pipe (#7212) X-Git-Tag: v3.6.6rc1~81 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6aacc160a880de3b82c51193a4594b87fb7ace5f;p=thirdparty%2FPython%2Fcpython.git Fix ci for 3.6 / asyncio / test_stdin_broken_pipe (#7212) --- diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index e8822c366982..0b2b17a4c3f9 100644 --- a/Lib/test/test_asyncio/test_subprocess.py +++ b/Lib/test/test_asyncio/test_subprocess.py @@ -210,6 +210,7 @@ class SubprocessMixin: @asyncio.coroutine def write_stdin(proc, data): + yield from asyncio.sleep(0.5, loop=self.loop) proc.stdin.write(data) yield from proc.stdin.drain()