test_run_stdin: add sleep
This commit is contained in:
parent
ec46864922
commit
b84f826fc8
|
@ -490,7 +490,7 @@ def test_run_stdin(testdir):
|
||||||
testdir.run(
|
testdir.run(
|
||||||
sys.executable,
|
sys.executable,
|
||||||
"-c",
|
"-c",
|
||||||
"import sys; print(sys.stdin.read())",
|
"import sys, time; time.sleep(1); print(sys.stdin.read())",
|
||||||
stdin=subprocess.PIPE,
|
stdin=subprocess.PIPE,
|
||||||
timeout=0.1,
|
timeout=0.1,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue