Message224303
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. |
|
Date |
User |
Action |
Args |
2014-07-30 12:34:34 | xdegaye | set | recipients:
+ xdegaye, georg.brandl, pitrou, vstinner |
2014-07-30 12:34:34 | xdegaye | set | messageid: <1406723674.67.0.482043673392.issue20766@psf.upfronthosting.co.za> |
2014-07-30 12:34:34 | xdegaye | link | issue20766 messages |
2014-07-30 12:34:34 | xdegaye | create | |
|