Add debugging output for #21425

This commit is contained in:
Antoine Pitrou 2014-05-11 16:09:15 +02:00
parent 1c33280c95
commit 0a44a0b827
1 changed files with 3 additions and 0 deletions

View File

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