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
class Base:
""" Tests common to all types: sets, buckets, and BTrees """
storage = None
db = None
def tearDown(self):
del self.t
if self.storage is not None:
self.storage.close()
if self.db is not None:
self.db.close()
self.storage.cleanup()
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