homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author oliphaunt
Recipients iritkatriel, oliphaunt, sumagnadas, terry.reedy, trrhodes
Date 2021年09月25日.13:44:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632577453.62.0.410313919199.issue41914@roundup.psfhosted.org>
In-reply-to
Content
Here's the issue again when running test_pdb.py for 3.11 (repository main). The same problem now occurs twice, and only inside the `screen` environment.
----- 8< -----
~/Temp/cpython> ./python Lib/test/test_pdb.py
.....F.........F........................................
======================================================================
FAIL: test_errors_in_command (__main__.PdbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/leon/Temp/cpython/Lib/test/test_pdb.py", line 1847, in test_errors_in_command
 self.assertEqual(stdout.splitlines()[1:], [
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Lists differ: ['-> [278 chars]efined", 'LEAVING RECURSIVE DEBUGGER', '(Pdb) ', '\x1b[?1034h'] != ['-> [278 chars]efined", 'LEAVING RECURSIVE DEBUGGER', '(Pdb) ']
First list contains 1 additional elements.
First extra element 10:
'\x1b[?1034h'
 ['-> pass',
 "(Pdb) *** SyntaxError: '(' was never closed",
 '(Pdb) ENTERING RECURSIVE DEBUGGER',
 "*** SyntaxError: '(' was never closed",
 'LEAVING RECURSIVE DEBUGGER',
 '(Pdb) ENTERING RECURSIVE DEBUGGER',
 '> <string>(1)<module>()',
 "((Pdb)) *** NameError: name 'doesnotexist' is not defined",
 'LEAVING RECURSIVE DEBUGGER',
- '(Pdb) ',
? ^
+ '(Pdb) ']
? ^
- '\x1b[?1034h']
======================================================================
FAIL: test_issue34266 (__main__.PdbTestCase)
do_run handles exceptions from parsing its arg
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/leon/Temp/cpython/Lib/test/test_pdb.py", line 1875, in test_issue34266
 check('\\', 'No escaped character')
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/home/leon/Temp/cpython/Lib/test/test_pdb.py", line 1870, in check
 self.assertEqual(stdout.splitlines()[1:], [
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Lists differ: ['-> [13 chars] *** Cannot run \\: No escaped character', '(Pdb) \x1b[?1034h'] != ['-> [13 chars] *** Cannot run \\: No escaped character', '(Pdb) ']
First differing element 2:
'(Pdb) \x1b[?1034h'
'(Pdb) '
- ['-> pass',
- '(Pdb) *** Cannot run \\: No escaped character',
+ ['-> pass', '(Pdb) *** Cannot run \\: No escaped character', '(Pdb) ']
? +++++++++++ ++++++++++
- '(Pdb) \x1b[?1034h']
----------------------------------------------------------------------
Ran 56 tests in 2.850s
FAILED (failures=2)
History
Date User Action Args
2021年09月25日 13:44:13oliphauntsetrecipients: + oliphaunt, terry.reedy, trrhodes, iritkatriel, sumagnadas
2021年09月25日 13:44:13oliphauntsetmessageid: <1632577453.62.0.410313919199.issue41914@roundup.psfhosted.org>
2021年09月25日 13:44:13oliphauntlinkissue41914 messages
2021年09月25日 13:44:13oliphauntcreate

AltStyle によって変換されたページ (->オリジナル) /