[Zodb-checkins] CVS: ZODB3/ZEO/tests - testClientCache.py:1.4
Jeremy Hylton
jeremy@zope.com
Tue, 27 Aug 2002 18:42:56 -0400
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv23179
Modified Files:
testClientCache.py
Log Message:
Define variable results before defining function that used the variable.
=== ZODB3/ZEO/tests/testClientCache.py 1.3 => 1.4 ===
--- ZODB3/ZEO/tests/testClientCache.py:1.3 Tue Aug 27 18:41:20 2002
+++ ZODB3/ZEO/tests/testClientCache.py Tue Aug 27 18:42:56 2002
@@ -134,9 +134,9 @@
def testVerify(self):
cache = self.cache
+ results = []
def verifier(oid, serial, vserial):
results.append((oid, serial, vserial))
- results = []
cache.verify(verifier)
self.assertEqual(results, [])
oid = 'abcdefgh'