]> granicus.if.org Git - python/commitdiff
Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 12 Aug 2014 01:40:38 +0000 (21:40 -0400)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 12 Aug 2014 01:40:38 +0000 (21:40 -0400)
Lib/test/test_pdb.py
Misc/NEWS

index 74253b338f66161d28a0b19c969bf986dcdacbb2..895be02c91974f677726c6a38eb08a082882e7f1 100644 (file)
@@ -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',
index a1d55c035816f0de179c344e11b902c3e804c645..b993e96ab1741b23dfd632b950943101b4699dc7 100644 (file)
--- 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.