Skip to content

Commit 4fadf0c

Browse files
authored
Attempt to fix test_stdin_broken_pipe on Travis (#7210)
1 parent c4653c9 commit 4fadf0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_asyncio/test_subprocess.py

+1
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ def test_stdin_broken_pipe(self):
228228
proc, large_data = self.prepare_broken_pipe_test()
229229

230230
async def write_stdin(proc, data):
231+
await asyncio.sleep(0.5, loop=self.loop)
231232
proc.stdin.write(data)
232233
await proc.stdin.drain()
233234

0 commit comments

Comments
 (0)