summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2014-08-11 21:41:46 -0400
committerAntoine Pitrou <solipsis@pitrou.net>2014-08-11 21:41:46 -0400
commitbd7ff30ff97152472fec721de144aaabeabea10e (patch)
tree65a9be105e6696ceffd71801e7c5c040b7df8f32
parent05b90a54d9c83401535139388a7cfe956f079efa (diff)
parentc04d468333290e42913449f402d5110d556afe8a (diff)
downloadcpython-git-bd7ff30ff97152472fec721de144aaabeabea10e.tar.gz
Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.
-rw-r--r--Lib/test/test_pdb.py2
-rw-r--r--Misc/NEWS3
2 files changed, 5 insertions, 0 deletions
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 27eb224c3e..2892678d69 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -832,6 +832,9 @@ Documentation
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.