Skip to content

Commit 475b737

Browse files
Update Lib/test/test_tkinter/test_tkinter_pipe.py
If the test fails, let it fail quickly. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent e71f6ba commit 475b737

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_tkinter/test_tkinter_pipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def test_tkinter_pipe_buffered(self):
1919
proc.stdin.write(b"print('hello')\n")
2020
proc.stdin.write(b"print('goodbye')\n")
2121
proc.stdin.write(b"quit()\n")
22-
stdout, stderr = proc.communicate()
22+
stdout, stderr = proc.communicate(timeout=support.SHORT_TIMEOUT)
2323
stdout = stdout.decode()
2424
self.assertEqual(stdout.split(), ['hello', 'goodbye'])
2525

0 commit comments

Comments
 (0)