diff options
author | Irit Katriel <iritkatriel@yahoo.com> | 2021-04-28 10:38:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 10:38:29 (GMT) |
commit | 21b02b5f4018474620676be04310f7d230a464ea (patch) | |
tree | ed0e691832e92305b1e4cfa03716dd908fc8d60e /Lib/test/test_pdb.py | |
parent | db0c5b786df961785ae8c803f5572ae0c8dadcc7 (diff) | |
download | cpython-21b02b5f4018474620676be04310f7d230a464ea.zip cpython-21b02b5f4018474620676be04310f7d230a464ea.tar.gz cpython-21b02b5f4018474620676be04310f7d230a464ea.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_pdb.py')
-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 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', |