Xavier de Gaye <xdeg...@gmail.com> added the comment:
This is fixed with: diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index 4f9d28afd3..7b3624fb99 100644 --- a/Lib/test/test_pdb.py +++ b/Lib/test/test_pdb.py @@ -1045,7 +1045,7 @@ def test_pdb_next_command_in_generator_for_loop(): ... print('value', i) ... x = 123 - >>> with PdbTestInput(['break test_gen', + >>> with PdbTestInput(['break test_gen', # doctest: +ELLIPSIS ... 'continue', ... 'next', ... 'next', @@ -1055,7 +1055,7 @@ def test_pdb_next_command_in_generator_for_loop(): > <doctest test.test_pdb.test_pdb_next_command_in_generator_for_loop[1]>(3)test_function() -> for i in test_gen(): (Pdb) break test_gen - Breakpoint 6 at <doctest test.test_pdb.test_pdb_next_command_in_generator_for_loop[0]>:1 + Breakpoint ... at <doctest test.test_pdb.test_pdb_next_command_in_generator_for_loop[0]>:1 (Pdb) continue > <doctest test.test_pdb.test_pdb_next_command_in_generator_for_loop[0]>(2)test_gen() -> yield 0 I will submit a PR shortly. ---------- nosy: +xdegaye _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33757> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com