diff options
author | Yury Selivanov <yury@magic.io> | 2018-05-29 17:40:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-29 17:40:47 (GMT) |
commit | 4fadf0c639476fa50a40ec6f119f98c01e56ad95 (patch) | |
tree | a576612cb863c78e1814f3781bb364f41969c504 | |
parent | c4653c9bf159c3919a50f4ced32eef713e7e764e (diff) | |
download | cpython-4fadf0c639476fa50a40ec6f119f98c01e56ad95.zip cpython-4fadf0c639476fa50a40ec6f119f98c01e56ad95.tar.gz cpython-4fadf0c639476fa50a40ec6f119f98c01e56ad95.tar.bz2 |
Attempt to fix test_stdin_broken_pipe on Travis (#7210)
-rw-r--r-- | Lib/test/test_asyncio/test_subprocess.py | 1 |
1 files changed, 1 insertions, 0 deletions
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() |