[Zodb-checkins] CVS: ZODB3/ZODB/tests - StorageTestBase.py:1.29 BasicStorage.py:1.26

Jeremy Hylton jeremy at zope.com
Thu Oct 2 20:34:33 EDT 2003


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

Modified Files:
	StorageTestBase.py BasicStorage.py 
Log Message:
Get rid of unused assignments and apparently unused default arguments.


=== ZODB3/ZODB/tests/StorageTestBase.py 1.28 => 1.29 ===
--- ZODB3/ZODB/tests/StorageTestBase.py:1.28	Thu Oct  2 14:17:17 2003
+++ ZODB3/ZODB/tests/StorageTestBase.py	Thu Oct  2 20:34:32 2003
@@ -78,10 +78,8 @@
     if isinstance(klass_info, types.TupleType):
         if isinstance(klass_info[0], types.TupleType):
             modname, klassname = klass_info[0]
-            args = klass_info[1]
         else:
             modname, klassname = klass_info
-            args = None
         if modname == "__main__":
             ns = globals()
         else:


=== ZODB3/ZODB/tests/BasicStorage.py 1.25 => 1.26 ===
--- ZODB3/ZODB/tests/BasicStorage.py:1.25	Thu Oct  2 14:17:17 2003
+++ ZODB3/ZODB/tests/BasicStorage.py	Thu Oct  2 20:34:32 2003
@@ -85,9 +85,10 @@
         eq(value, MinPO(11))
         eq(revid, newrevid)
 
-    def checkNonVersionStore(self, oid=None, revid=None, version=None):
+##    def checkNonVersionStore(self, oid=None, revid=None, version=None):
+    def checkNonVersionStore(self):
         revid = ZERO
-        newrevid = self._dostore(revid=revid)
+        newrevid = self._dostore(revid=None)
         # Finish the transaction.
         self.assertNotEqual(newrevid, revid)
 




More information about the Zodb-checkins mailing list