[Zodb-checkins] CVS: ZODB3/bsddb3Storage/bsddb3Storage/tests - ZODBTestBase.py:1.5.2.2
Barry Warsaw
barry@wooz.org
Mon, 21 Oct 2002 12:01:45 -0400
Update of /cvs-repository/ZODB3/bsddb3Storage/bsddb3Storage/tests
In directory cvs.zope.org:/tmp/cvs-serv12295
Modified Files:
Tag: bdb-nolocks
ZODBTestBase.py
Log Message:
setUp(): Opening the DB could fail, in which case tearDown() won't
have a self._db attribute to muck with.
=== ZODB3/bsddb3Storage/bsddb3Storage/tests/ZODBTestBase.py 1.5.2.1 => 1.5.2.2 ===
--- ZODB3/bsddb3Storage/bsddb3Storage/tests/ZODBTestBase.py:1.5.2.1 Mon Sep 9 19:02:24 2002
+++ ZODB3/bsddb3Storage/bsddb3Storage/tests/ZODBTestBase.py Mon Oct 21 12:01:44 2002
@@ -27,6 +27,7 @@
class ZODBTestBase(BerkeleyTestBase):
def setUp(self):
BerkeleyTestBase.setUp(self)
+ self._db = None
try:
self._db = DB(self._storage)
self._conn = self._db.open()