Commit ec78fcbb authored by Tres Seaver's avatar Tres Seaver

Moar next() fixes.

parent 04832afb
......@@ -563,7 +563,7 @@ class MappingBase(Base):
x = []
try:
while 1:
x.append(it.next())
x.append(next(it))
except StopIteration:
pass
self.assertEqual(x, keys)
......@@ -1250,7 +1250,7 @@ class NormalSetTests(Base):
x = []
try:
while 1:
x.append(it.next())
x.append(next(it))
except StopIteration:
pass
self.assertEqual(x, keys)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment