Commit d895abb7 authored by Jim Fulton's avatar Jim Fulton

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.
parent 5a74d8e9
......@@ -703,7 +703,8 @@ class CommonBlobTests:
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)
......
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