Add REPORT_NDIFF option to o test that was hard to debug recently.

This commit is contained in:
Guido van Rossum 2007-09-08 16:05:25 +00:00
parent f8c37d16f3
commit 4a625c33c1
1 changed files with 1 additions and 0 deletions

View File

@ -1752,6 +1752,7 @@ def test_pdb_set_trace_nested():
... runner.run(test) ... runner.run(test)
... finally: ... finally:
... sys.stdin = real_stdin ... sys.stdin = real_stdin
... # doctest: +REPORT_NDIFF
> <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(5)calls_set_trace() > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(5)calls_set_trace()
-> self.f1() -> self.f1()
(Pdb) print(y) (Pdb) print(y)