From 5b6f01c3167d003abad03a4aeb6bcc20decaf5c1 2022-04-07 12:42:09 From: Matthias Bussonnier Date: 2022-04-07 12:42:09 Subject: [PATCH] DEBUG: on pexpect failure show 1000 chars buffer --- diff --git a/IPython/core/tests/test_debugger.py b/IPython/core/tests/test_debugger.py index eb3b5f3..56c32f8 100644 --- a/IPython/core/tests/test_debugger.py +++ b/IPython/core/tests/test_debugger.py @@ -391,6 +391,7 @@ def _decorator_skip_setup(): child = pexpect.spawn( sys.executable, ["-m", "IPython", "--colors=nocolor"], env=env ) + child.str_last_chars = 1000 child.timeout = 5 * IPYTHON_TESTING_TIMEOUT_SCALE child.expect("IPython")