[Zodb-checkins] SVN: ZODB/branches/3.8/src/ZEO/tests/testZEO.py Closed handle associated with a temporary file to prevent errors on
Jim Fulton
jim at zope.com
Mon Oct 6 13:12:09 EDT 2008
Log message for revision 91814:
Closed handle associated with a temporary file to prevent errors on
windows. The test author asures me that leaving the handle open wasn't
intentional.
Changed:
U ZODB/branches/3.8/src/ZEO/tests/testZEO.py
-=-
Modified: ZODB/branches/3.8/src/ZEO/tests/testZEO.py
===================================================================
--- ZODB/branches/3.8/src/ZEO/tests/testZEO.py 2008-10-06 16:14:22 UTC (rev 91813)
+++ ZODB/branches/3.8/src/ZEO/tests/testZEO.py 2008-10-06 17:12:08 UTC (rev 91814)
@@ -547,7 +547,8 @@
def checkTransactionBufferCleanup(self):
oid = self._storage.new_oid()
- handle, blob_file_name = tempfile.mkstemp() #XXX cleanup temp file
+ handle, blob_file_name = tempfile.mkstemp()
+ os.close(handle)
open(blob_file_name, 'w').write('I am a happy blob.')
t = transaction.Transaction()
self._storage.tpc_begin(t)
More information about the Zodb-checkins
mailing list