Skip to content

Commit ab8a136

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 475b737 commit ab8a136

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
@@ -46,7 +46,7 @@ def test_tkinter_pipe_unbuffered(self):
4646

4747
proc.stdin.write(b"print('goodbye')\n")
4848
proc.stdin.write(b"quit()\n")
49-
stdout, stderr = proc.communicate()
49+
stdout, stderr = proc.communicate(timeout=support.SHORT_TIMEOUT)
5050
stdout = stdout.decode()
5151
self.assertEqual(stdout.strip(), 'goodbye')
5252

0 commit comments

Comments
 (0)