From: Guido van Rossum Date: Sat, 8 Sep 2007 16:05:25 +0000 (+0000) Subject: Add REPORT_NDIFF option to o test that was hard to debug recently. X-Git-Tag: v3.0a2~421 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a625c33c1ca9370b96cb00ecb2a1958a093e0b5;p=thirdparty%2FPython%2Fcpython.git Add REPORT_NDIFF option to o test that was hard to debug recently. --- diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py index 250614ea480a..be2ffe26122f 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)