From ce038e834141cba7c11bcc4857ce6637ac3a374e Mon Sep 17 00:00:00 2001 From: Xavier de Gaye Date: Sat, 9 Jun 2018 18:18:40 +0200 Subject: [PATCH] bpo-33757: Fix separate test_pdb_next_command_in_generator_for_loop in test_pdb --- Lib/test/test_pdb.py | 4 ++-- .../next/Tests/2018-06-09-18-17-51.bpo-33757.xDqphp.rst | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 Misc/NEWS.d/next/Tests/2018-06-09-18-17-51.bpo-33757.xDqphp.rst diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index 4f9d28afd3b5b4..7b3624fb992582 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(): > (3)test_function() -> for i in test_gen(): (Pdb) break test_gen - Breakpoint 6 at :1 + Breakpoint ... at :1 (Pdb) continue > (2)test_gen() -> yield 0 diff --git a/Misc/NEWS.d/next/Tests/2018-06-09-18-17-51.bpo-33757.xDqphp.rst b/Misc/NEWS.d/next/Tests/2018-06-09-18-17-51.bpo-33757.xDqphp.rst new file mode 100644 index 00000000000000..2e392aaf8d5833 --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2018-06-09-18-17-51.bpo-33757.xDqphp.rst @@ -0,0 +1 @@ +Fix separate test_pdb_next_command_in_generator_for_loop in test_pdb