Skip to content

Commit b3e12c0

Browse files
miss-islington1st1
andcommitted
Attempt to fix test_stdin_broken_pipe on Travis (GH-7210) (#7211)
(cherry picked from commit 4fadf0c) Co-authored-by: Yury Selivanov <yury@magic.io>
1 parent cb055bc commit b3e12c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_asyncio/test_subprocess.py

Lines changed: 1 addition & 0 deletions
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)