diff options
author | Guido van Rossum <guido@python.org> | 2007-09-05 03:26:38 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-09-05 03:26:38 (GMT) |
commit | fd4a7de172c7eb8d79a4cd648f65eaa552cd175f (patch) | |
tree | 141fa9444c01d53e8a287d579265b521d31dcb4f /Lib/test/test_doctest.py | |
parent | 45c078736e0fd64f21c90efd61d2cba9540a3d30 (diff) | |
download | cpython-fd4a7de172c7eb8d79a4cd648f65eaa552cd175f.zip cpython-fd4a7de172c7eb8d79a4cd648f65eaa552cd175f.tar.gz cpython-fd4a7de172c7eb8d79a4cd648f65eaa552cd175f.tar.bz2 |
Fix doctest failure introduced by r57949.
The formatting of errors from pdb's own print command is different
from the formatting of errors when pdb exec's an arbitrary command;
the introduction of print as a pdb command caused this test to use
the former instead of the latter, causing the test to fail.
Diffstat (limited to 'Lib/test/test_doctest.py')
-rw-r--r-- | Lib/test/test_doctest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py index ab0e1d0..250614e 100644 --- a/Lib/test/test_doctest.py +++ b/Lib/test/test_doctest.py @@ -1792,7 +1792,7 @@ def test_pdb_set_trace_nested(): > <doctest foo[1]>(1)<module>() -> calls_set_trace() (Pdb) print(foo) - *** NameError: name 'foo' is not defined + *** NameError: NameError("name 'foo' is not defined",) (Pdb) continue (0, 2) """ |