mirror of https://github.com/python/cpython
Fix debugging output to work with -W
This commit is contained in:
parent
c1b22d9c22
commit
ffd72737d3
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue