From: Antoine Pitrou Date: Tue, 12 Aug 2014 01:40:38 +0000 (-0400) Subject: Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye. X-Git-Tag: v3.4.2rc1~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c04d468333290e42913449f402d5110d556afe8a;p=python Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye. --- diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index 74253b338f..895be02c91 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', diff --git a/Misc/NEWS b/Misc/NEWS index a1d55c0358..b993e96ab1 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -253,6 +253,9 @@ IDLE Tests ----- +- Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier + de Gaye. + - Issue #22060: test_ctypes has been somewhat cleaned up and simplified; it now uses unittest test discovery to find its tests.