[Zope3-checkins] CVS: Zope3/lib/python/Persistence/tests - testPersistence.py:1.6

Jim Fulton jim@zope.com
Thu, 10 Oct 2002 04:20:10 -0400


Update of /cvs-repository/Zope3/lib/python/Persistence/tests
In directory cvs.zope.org:/tmp/cvs-serv8043/lib/python/Persistence/tests

Modified Files:
	testPersistence.py 
Log Message:
Backed out a bunch of persistence changes checkin in last night that
broke things badly. Unit tests failed and zope wouldn't start under
either Python 2.2.1 or the Python CVS head. Aaaargh.


=== Zope3/lib/python/Persistence/tests/testPersistence.py 1.5 => 1.6 ===
--- Zope3/lib/python/Persistence/tests/testPersistence.py:1.5	Wed Oct  9 18:41:32 2002
+++ Zope3/lib/python/Persistence/tests/testPersistence.py	Thu Oct 10 04:20:07 2002
@@ -126,7 +126,7 @@
                      "%s does not implement IPersistent" % p)
         
 
-from Persistence import Persistent
+from Persistence import Persistent, BasePersistent
 
 class P(Persistent):
     def __init__(self):
@@ -140,7 +140,7 @@
     def __setstate__(self, v):
         self.v = v
 
-class B(Persistent):
+class B(BasePersistent):
 
     __slots__ = ["x"]