summaryrefslogtreecommitdiff
path: root/Lib/test/test_doctest.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-30 16:00:46 +0000
committerGeorg Brandl <georg@python.org>2010-07-30 16:00:46 +0000
commit0d08962659faf137927f95233e3a7d0480325131 (patch)
treeb808c981301b4d2866ea3d6df9c1e6caf7aeb53c /Lib/test/test_doctest.py
parent9d624d26d19cf34701882f5b25a92a444f8b150d (diff)
downloadcpython-git-0d08962659faf137927f95233e3a7d0480325131.tar.gz
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)
Diffstat (limited to 'Lib/test/test_doctest.py')
-rw-r--r--Lib/test/test_doctest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py
index b6eeaedce4..96c93f6ce2 100644
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -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)
"""