Commit b23513f8 authored by Jeremy Hylton's avatar Jeremy Hylton

Close db instead of storage to clear circular references.

parent 0fc65cfb
...@@ -24,12 +24,12 @@ from ZODB.POSException import ConflictError ...@@ -24,12 +24,12 @@ from ZODB.POSException import ConflictError
class Base: class Base:
""" Tests common to all types: sets, buckets, and BTrees """ """ Tests common to all types: sets, buckets, and BTrees """
storage = None db = None
def tearDown(self): def tearDown(self):
del self.t del self.t
if self.storage is not None: if self.db is not None:
self.storage.close() self.db.close()
self.storage.cleanup() self.storage.cleanup()
def openDB(self): def openDB(self):
......
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