[Zope-Checkins] CVS: ZODB3/ZODB/tests - TransactionalUndoStorage.py:1.32.8.2

Tim Peters tim.one@comcast.net
Mon, 7 Jul 2003 17:43:46 -0400


Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv24723/ZODB/tests

Modified Files:
      Tag: zodb33-devel-branch
	TransactionalUndoStorage.py 
Log Message:
checkPackAfterUndoManyTimes():  Don't call _cache.clear(), cuz it doesn't
exist.


=== ZODB3/ZODB/tests/TransactionalUndoStorage.py 1.32.8.1 => 1.32.8.2 ===
--- ZODB3/ZODB/tests/TransactionalUndoStorage.py:1.32.8.1	Tue Jul  1 16:57:20 2003
+++ ZODB3/ZODB/tests/TransactionalUndoStorage.py	Mon Jul  7 17:43:40 2003
@@ -670,7 +670,10 @@
         for t in packtimes:
             self._storage.pack(t, referencesf)
             cn.sync()
-            cn._cache.clear()
+
+            # XXX Is _cache supposed to have a clear() method, or not?
+            # cn._cache.clear()
+
             # The last undo set the value to 3 and pack should
             # never change that.
             self.assertEqual(rt["test"].value, 3)