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:
Irit Katriel 2021-04-28 11:38:29 +01:00 committed by GitHub
parent db0c5b786d
commit 21b02b5f40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',