From 4fadf0c639476fa50a40ec6f119f98c01e56ad95 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Tue, 29 May 2018 13:40:47 -0400 Subject: Attempt to fix test_stdin_broken_pipe on Travis (#7210) --- 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 428510f..235813a 100644 --- a/Lib/test/test_asyncio/test_subprocess.py +++ b/Lib/test/test_asyncio/test_subprocess.py @@ -228,6 +228,7 @@ class SubprocessMixin: proc, large_data = self.prepare_broken_pipe_test() async def write_stdin(proc, data): + await asyncio.sleep(0.5, loop=self.loop) proc.stdin.write(data) await proc.stdin.drain() -- cgit v0.12