From 4a625c33c1ca9370b96cb00ecb2a1958a093e0b5 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 8 Sep 2007 16:05:25 +0000 Subject: Add REPORT_NDIFF option to o test that was hard to debug recently. --- Lib/test/test_doctest.py | 1 + 1 file changed, 1 insertion(+) 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 > (5)calls_set_trace() -> self.f1() (Pdb) print(y) -- cgit v0.12