Commit 2268f9d3 authored by Jim Fulton's avatar Jim Fulton

Changed a test that tested a missfeatre to test a feature.

parent 2ccc85c5
...@@ -138,8 +138,7 @@ class IteratorStorage(IteratorCompare): ...@@ -138,8 +138,7 @@ class IteratorStorage(IteratorCompare):
self._dostore() self._dostore()
tinfo = self._storage.iterator().next() tinfo = self._storage.iterator().next()
self.assertEquals(1, len(list(tinfo))) self.assertEquals(1, len(list(tinfo)))
# The iterator can only be consumed once: self.assertEquals(1, len(list(tinfo)))
self.assertEquals(0, len(list(tinfo)))
def checkIterateWhileWriting(self): def checkIterateWhileWriting(self):
self._dostore() self._dostore()
......
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