diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2014-08-12 01:40:38 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2014-08-12 01:40:38 (GMT) |
commit | c04d468333290e42913449f402d5110d556afe8a (patch) | |
tree | b282255dc8287166e569e2cd47f76f2b828b3892 /Lib/test/test_pdb.py | |
parent | f9dd274692373a335ee46bbe4c7f5849acedb927 (diff) | |
download | cpython-c04d468333290e42913449f402d5110d556afe8a.zip cpython-c04d468333290e42913449f402d5110d556afe8a.tar.gz cpython-c04d468333290e42913449f402d5110d556afe8a.tar.bz2 |
Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.
Diffstat (limited to 'Lib/test/test_pdb.py')
-rw-r--r-- | Lib/test/test_pdb.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index 74253b3..895be02 100644 --- a/Lib/test/test_pdb.py +++ b/Lib/test/test_pdb.py @@ -614,6 +614,8 @@ def test_next_until_return_at_return_event(): ... test_function_2() ... end = 1 + >>> from bdb import Breakpoint + >>> Breakpoint.next = 1 >>> with PdbTestInput(['break test_function_2', ... 'continue', ... 'return', |