[Python-checkins] cpython (merge 3.4 -> default): Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de
antoine.pitrou
python-checkins at python.org
Tue Aug 12 03:41:57 CEST 2014
http://hg.python.org/cpython/rev/d2041159e8ed
changeset: 92077:d2041159e8ed
parent: 92075:7fafbb7e1a8f
parent: 92076:df832e0c6d7d
user: Antoine Pitrou <solipsis at pitrou.net>
date: Mon Aug 11 21:41:46 2014 -0400
summary:
Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.
files:
Lib/test/test_pdb.py | 2 ++
Misc/NEWS | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py
--- a/Lib/test/test_pdb.py
+++ b/Lib/test/test_pdb.py
@@ -614,6 +614,8 @@
... 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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -832,6 +832,9 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list