From 21b02b5f4018474620676be04310f7d230a464ea Mon Sep 17 00:00:00 2001 From: Irit Katriel Date: Wed, 28 Apr 2021 11:38:29 +0100 Subject: 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. --- Lib/test/test_pdb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index fb39417..870eab4 100644 --- a/Lib/test/test_pdb.py +++ b/Lib/test/test_pdb.py @@ -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', -- cgit v0.12