[Zodb-checkins] CVS: ZODB3/ZODB/tests - testPersistentMapping.py:1.5.36.3

Jeremy Hylton jeremy at zope.com
Tue Jul 1 19:10:49 EDT 2003


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

Modified Files:
      Tag: zodb33-devel-branch
	testPersistentMapping.py 
Log Message:
In the new world, even test classes need to be new-style classes.


=== ZODB3/ZODB/tests/testPersistentMapping.py 1.5.36.2 => 1.5.36.3 ===
--- ZODB3/ZODB/tests/testPersistentMapping.py:1.5.36.2	Tue Jul  1 17:05:00 2003
+++ ZODB3/ZODB/tests/testPersistentMapping.py	Tue Jul  1 18:10:48 2003
@@ -78,7 +78,7 @@
     """Helper for this test suite to get special PersistentMapping"""
 
     if classname == "PersistentMapping":
-        class PersistentMapping:
+        class PersistentMapping(object):
             def __setstate__(self, state):
                 self.__dict__.update(state)
         return PersistentMapping




More information about the Zodb-checkins mailing list