homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients georg.brandl, pitrou, vstinner, xdegaye
Date 2014年07月30日.12:31:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406723505.4.0.768994926578.issue20746@psf.upfronthosting.co.za>
In-reply-to
Content
This is because breakpoints number are class attributes. With the following change, the "./python -m test test_pdb test_pdb" is ok:
$ hg diff
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',
Attached refleak_3.patch fixes this problem for test_next_until_return_at_return_event().
History
Date User Action Args
2014年07月30日 12:31:45xdegayesetrecipients: + xdegaye, georg.brandl, pitrou, vstinner
2014年07月30日 12:31:45xdegayesetmessageid: <1406723505.4.0.768994926578.issue20746@psf.upfronthosting.co.za>
2014年07月30日 12:31:45xdegayelinkissue20746 messages
2014年07月30日 12:31:45xdegayecreate

AltStyle によって変換されたページ (->オリジナル) /