From 2268f9d32a8778c6873def520567ed3658451f41 Mon Sep 17 00:00:00 2001 From: Jim Fulton <jim@zope.com> Date: Sun, 26 Oct 2008 00:36:28 +0000 Subject: [PATCH] Changed a test that tested a missfeatre to test a feature. --- src/ZODB/tests/IteratorStorage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ZODB/tests/IteratorStorage.py b/src/ZODB/tests/IteratorStorage.py index cb7e5768..17dedad6 100644 --- a/src/ZODB/tests/IteratorStorage.py +++ b/src/ZODB/tests/IteratorStorage.py @@ -138,8 +138,7 @@ class IteratorStorage(IteratorCompare): self._dostore() tinfo = self._storage.iterator().next() self.assertEquals(1, len(list(tinfo))) - # The iterator can only be consumed once: - self.assertEquals(0, len(list(tinfo))) + self.assertEquals(1, len(list(tinfo))) def checkIterateWhileWriting(self): self._dostore() -- 2.30.9