mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Add debugging output for #21425
This commit is contained in:
parent
1c33280c95
commit
0a44a0b827
1 changed files with 3 additions and 0 deletions
|
|
@ -187,6 +187,9 @@ class CmdLineTest(unittest.TestCase):
|
||||||
# Drain stderr until prompt
|
# Drain stderr until prompt
|
||||||
while True:
|
while True:
|
||||||
data = stderr.read(4)
|
data = stderr.read(4)
|
||||||
|
if support.verbose:
|
||||||
|
print("repl stderr[:4]:", data)
|
||||||
|
sys.stdout.flush()
|
||||||
if data == b">>> ":
|
if data == b">>> ":
|
||||||
break
|
break
|
||||||
stderr.readline()
|
stderr.readline()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue