Skip to content

Commit b84f826

Browse files
committed
test_run_stdin: add sleep
1 parent ec46864 commit b84f826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_pytester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def test_run_stdin(testdir):
490490
testdir.run(
491491
sys.executable,
492492
"-c",
493-
"import sys; print(sys.stdin.read())",
493+
"import sys, time; time.sleep(1); print(sys.stdin.read())",
494494
stdin=subprocess.PIPE,
495495
timeout=0.1,
496496
)

0 commit comments

Comments
 (0)