diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py index 250614ea480..be2ffe26122 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)