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:34:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406723674.67.0.482043673392.issue20766@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.
History
Date User Action Args
2014年07月30日 12:34:34xdegayesetrecipients: + xdegaye, georg.brandl, pitrou, vstinner
2014年07月30日 12:34:34xdegayesetmessageid: <1406723674.67.0.482043673392.issue20766@psf.upfronthosting.co.za>
2014年07月30日 12:34:34xdegayelinkissue20766 messages
2014年07月30日 12:34:34xdegayecreate

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