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()