Message319144
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. |
|
| Date |
User |
Action |
Args |
| 2018-06-09 12:06:29 | xdegaye | set | recipients:
+ xdegaye, serhiy.storchaka |
| 2018-06-09 12:06:29 | xdegaye | set | messageid: <1528545989.06.0.592728768989.issue33757@psf.upfronthosting.co.za> |
| 2018-06-09 12:06:29 | xdegaye | link | issue33757 messages |
| 2018-06-09 12:06:28 | xdegaye | create | |
|