Fix ci for 3.6 / asyncio / test_stdin_broken_pipe (#7212)
This commit is contained in:
parent
5e9e9db9d9
commit
6aacc160a8
|
@ -210,6 +210,7 @@ class SubprocessMixin:
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def write_stdin(proc, data):
|
def write_stdin(proc, data):
|
||||||
|
yield from asyncio.sleep(0.5, loop=self.loop)
|
||||||
proc.stdin.write(data)
|
proc.stdin.write(data)
|
||||||
yield from proc.stdin.drain()
|
yield from proc.stdin.drain()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue