[Checkins] SVN: BTrees/branches/py3k/ Moar next() fixes.
Tres Seaver
cvs-admin at zope.org
Mon Dec 10 22:30:10 UTC 2012
Log message for revision 128570:
Moar next() fixes.
Changed:
_U BTrees/branches/py3k/
U BTrees/branches/py3k/BTrees/tests/common.py
-=-
Modified: BTrees/branches/py3k/BTrees/tests/common.py
===================================================================
--- BTrees/branches/py3k/BTrees/tests/common.py 2012-12-10 22:30:08 UTC (rev 128569)
+++ BTrees/branches/py3k/BTrees/tests/common.py 2012-12-10 22:30:09 UTC (rev 128570)
@@ -563,7 +563,7 @@
x = []
try:
while 1:
- x.append(it.next())
+ x.append(next(it))
except StopIteration:
pass
self.assertEqual(x, keys)
@@ -1250,7 +1250,7 @@
x = []
try:
while 1:
- x.append(it.next())
+ x.append(next(it))
except StopIteration:
pass
self.assertEqual(x, keys)
More information about the checkins
mailing list