mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
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.
This commit is contained in:
parent
db0c5b786d
commit
21b02b5f40
1 changed files with 1 additions and 0 deletions
|
@ -1192,6 +1192,7 @@ def test_pdb_next_command_in_generator_for_loop():
|
|||
... print('value', i)
|
||||
... x = 123
|
||||
|
||||
>>> reset_Breakpoint()
|
||||
>>> with PdbTestInput(['break test_gen',
|
||||
... 'continue',
|
||||
... 'next',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue