mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Several enhancements to pdb and its test suite.
* added basic test for basic commands * removed duplication of command docs, and moved them to their implementation * unified and useful display of exceptions * output messages and errors using overridable methods (also fixes #1503502)
This commit is contained in:
parent
9d624d26d1
commit
0d08962659
3 changed files with 560 additions and 642 deletions
|
|
@ -1898,7 +1898,7 @@ def test_pdb_set_trace_nested():
|
|||
> <doctest foo[1]>(1)<module>()
|
||||
-> calls_set_trace()
|
||||
(Pdb) print(foo)
|
||||
*** NameError: NameError("name 'foo' is not defined",)
|
||||
*** NameError: name 'foo' is not defined
|
||||
(Pdb) continue
|
||||
TestResults(failed=0, attempted=2)
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue