From b8739076159bc60b5efd4f1f9acb12aebe3d5faf Mon Sep 17 00:00:00 2001 From: Irit Katriel Date: Tue, 27 Apr 2021 23:51:30 +0100 Subject: [PATCH] bpo-43960: reset global breakpoint state at the beginning of a pdb test 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 fb3941780b721c..870eab4e33e633 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',