[Zodb-checkins] CVS: Zope3/lib/python/Persistence/tests - testModule.py:1.31
Jeremy Hylton
jeremy@zope.com
Fri, 22 Nov 2002 11:33:31 -0500
Update of /cvs-repository/Zope3/lib/python/Persistence/tests
In directory cvs.zope.org:/tmp/cvs-serv8260/Persistence/tests
Modified Files:
testModule.py
Log Message:
Write __newstate__() that works correctly with 2.2.2.
Re-enable testClassUpdate().
(The current 2.3 has a bug that allowed the old version to work by
accident.)
=== Zope3/lib/python/Persistence/tests/testModule.py 1.30 => 1.31 ===
--- Zope3/lib/python/Persistence/tests/testModule.py:1.30 Fri Nov 22 10:18:29 2002
+++ Zope3/lib/python/Persistence/tests/testModule.py Fri Nov 22 11:33:30 2002
@@ -108,7 +108,7 @@
self.assertEqual(pmtest.f(3), 4)
self.assertEqual(copy(3), 4)
- def XXXtestUpdateClass(self):
+ def testUpdateClass(self):
mgr = PersistentModuleManager(self.registry)
mgr.new("pmtest", src)
get_transaction().commit()