[Zodb-checkins] CVS: ZODB3/ZODB/tests - PackableStorage.py:1.17
Jeremy Hylton
jeremy at zope.com
Fri May 16 18:00:59 EDT 2003
Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv16321/tests
Modified Files:
PackableStorage.py
Log Message:
Don't let test fail if storage has no pack.
(Just hope that the storage is sane :-).
=== ZODB3/ZODB/tests/PackableStorage.py 1.16 => 1.17 ===
--- ZODB3/ZODB/tests/PackableStorage.py:1.16 Fri May 16 16:19:14 2003
+++ ZODB3/ZODB/tests/PackableStorage.py Fri May 16 17:00:58 2003
@@ -414,6 +414,8 @@
self.assert_(not t.isAlive())
# iterator over the storage to make sure it's sane
+ if not hasattr(self._storage, "iterator"):
+ return
iter = self._storage.iterator()
for txn in iter:
for data in txn:
More information about the Zodb-checkins
mailing list