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):
while True:
data = stderr.read(4)
if support.verbose:
print("repl stderr[:4]:", repr(data))
sys.stdout.flush()
print("repl stderr[:4]:", repr(data), file=sys.__stdout__)
sys.__stdout__.flush()
if data == b">>> ":
break
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