From 0a44a0b82717b5d9188f937ffbf4746adeea9c5a Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 11 May 2014 16:09:15 +0200 Subject: [PATCH] Add debugging output for #21425 --- Lib/test/test_cmd_line_script.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index 88a9e2bbb52..60271f45e94 100644 --- a/Lib/test/test_cmd_line_script.py +++ b/Lib/test/test_cmd_line_script.py @@ -187,6 +187,9 @@ class CmdLineTest(unittest.TestCase): # Drain stderr until prompt while True: data = stderr.read(4) + if support.verbose: + print("repl stderr[:4]:", data) + sys.stdout.flush() if data == b">>> ": break stderr.readline()