[Zodb-checkins] CVS: Zope3/src/zodb/storage/tests - test_file.py:1.8

Tim Peters tim.one@comcast.net
Fri, 14 Mar 2003 14:23:26 -0500


Update of /cvs-repository/Zope3/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv15329/src/zodb/storage/tests

Modified Files:
	test_file.py 
Log Message:
_test_read_index():  Close the copy of the .fs file when we're done
with it.  Not doing so caused errors on Windows (can't delete the file
then).


=== Zope3/src/zodb/storage/tests/test_file.py 1.7 => 1.8 ===
--- Zope3/src/zodb/storage/tests/test_file.py:1.7	Thu Mar 13 16:32:29 2003
+++ Zope3/src/zodb/storage/tests/test_file.py	Fri Mar 14 14:23:25 2003
@@ -74,6 +74,7 @@
 
         L1 = copy._index.items()
         L2 = self._storage._index.items()
+        copy.close()
         L1.sort(); L2.sort()
         self.assertEqual(L1, L2)