[Zope-Checkins] CVS: ZODB3/ZODB/tests - testFileStorage.py:1.19.8.2.2.2

Tim Peters tim.one@comcast.net
Tue, 17 Dec 2002 12:30:57 -0500


Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv22688/ZODB/tests

Modified Files:
      Tag: ZODB3-fast-restart-branch
	testFileStorage.py 
Log Message:
checkRecoverAbortVersion():  Closed another iterator.  All the tests
pass on Windows now.


=== ZODB3/ZODB/tests/testFileStorage.py 1.19.8.2.2.1 => 1.19.8.2.2.2 ===
--- ZODB3/ZODB/tests/testFileStorage.py:1.19.8.2.2.1	Tue Dec 17 12:17:25 2002
+++ ZODB3/ZODB/tests/testFileStorage.py	Tue Dec 17 12:30:57 2002
@@ -118,9 +118,9 @@
             iter = s.iterator()
             for trans in iter:
                 pass # iterate until we get the last one
-            iter.close()
             data = trans[0]
             self.assertRaises(IndexError, lambda i:trans[i], 1)
+            iter.close()
             self.assertEqual(data.oid, oid)
             self.assertEqual(data.data, None)