Skip to content

Commit 21b02b5

Browse files
authored
bpo-43960: test_pdb resets breakpoints (GH-25673)
Reset global breakpoint state at the beginning of test_pdb_next_command_in_generator_for_loop() to make it deterministic.
1 parent db0c5b7 commit 21b02b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_pdb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,7 @@ def test_pdb_next_command_in_generator_for_loop():
11921192
... print('value', i)
11931193
... x = 123
11941194
1195+
>>> reset_Breakpoint()
11951196
>>> with PdbTestInput(['break test_gen',
11961197
... 'continue',
11971198
... 'next',

0 commit comments

Comments
 (0)