diff options
| author | Irit Katriel <iritkatriel@yahoo.com> | 2021-04-28 11:38:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-28 12:38:29 +0200 |
| commit | 21b02b5f4018474620676be04310f7d230a464ea (patch) | |
| tree | ed0e691832e92305b1e4cfa03716dd908fc8d60e | |
| parent | db0c5b786df961785ae8c803f5572ae0c8dadcc7 (diff) | |
| download | cpython-git-21b02b5f4018474620676be04310f7d230a464ea.tar.gz | |
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.
| -rw-r--r-- | Lib/test/test_pdb.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index fb3941780b..870eab4e33 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', |
