Commit ffd72737 authored by Antoine Pitrou's avatar Antoine Pitrou

Fix debugging output to work with -W

parent c1b22d9c
...@@ -188,8 +188,8 @@ class CmdLineTest(unittest.TestCase): ...@@ -188,8 +188,8 @@ class CmdLineTest(unittest.TestCase):
while True: while True:
data = stderr.read(4) data = stderr.read(4)
if support.verbose: if support.verbose:
print("repl stderr[:4]:", repr(data)) print("repl stderr[:4]:", repr(data), file=sys.__stdout__)
sys.stdout.flush() sys.__stdout__.flush()
if data == b">>> ": if data == b">>> ":
break break
stderr.readline() stderr.readline()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment