summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-09-08 16:05:25 (GMT)
committerGuido van Rossum <guido@python.org>2007-09-08 16:05:25 (GMT)
commit4a625c33c1ca9370b96cb00ecb2a1958a093e0b5 (patch)
tree39d8d2eb1d6c8aa373ee89f8d2a6477dca42908e /Lib
parentf8c37d16f31e18051ba6ba2643514cfcf9c89225 (diff)
downloadcpython-4a625c33c1ca9370b96cb00ecb2a1958a093e0b5.zip
cpython-4a625c33c1ca9370b96cb00ecb2a1958a093e0b5.tar.gz
cpython-4a625c33c1ca9370b96cb00ecb2a1958a093e0b5.tar.bz2
Add REPORT_NDIFF option to o test that was hard to debug recently.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_doctest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py
index 250614e..be2ffe2 100644
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -1752,6 +1752,7 @@ def test_pdb_set_trace_nested():
... runner.run(test)
... finally:
... sys.stdin = real_stdin
+ ... # doctest: +REPORT_NDIFF
> <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(5)calls_set_trace()
-> self.f1()
(Pdb) print(y)