Fix debugging output to work with -bb

This commit is contained in:
Antoine Pitrou 2014-05-11 16:24:45 +02:00
parent 0a44a0b827
commit c1b22d9c22

View file

@ -188,7 +188,7 @@ class CmdLineTest(unittest.TestCase):
while True:
data = stderr.read(4)
if support.verbose:
print("repl stderr[:4]:", data)
print("repl stderr[:4]:", repr(data))
sys.stdout.flush()
if data == b">>> ":
break