[Zodb-checkins] CVS: Zope3/src/persistent/tests - test_persistent.py:1.4

Jim Fulton jim at zope.com
Wed Mar 3 07:18:53 EST 2004


Update of /cvs-repository/Zope3/src/persistent/tests
In directory cvs.zope.org:/tmp/cvs-serv27591/src/persistent/tests

Modified Files:
	test_persistent.py 
Log Message:
Fixed a big in testInterface.  There is no longer a self.klass.


=== Zope3/src/persistent/tests/test_persistent.py 1.3 => 1.4 ===
--- Zope3/src/persistent/tests/test_persistent.py:1.3	Tue Mar  2 17:15:14 2004
+++ Zope3/src/persistent/tests/test_persistent.py	Wed Mar  3 07:18:50 2004
@@ -90,7 +90,7 @@
 
             self.assert_(IPersistent.isImplementedByInstancesOf(P),
                          "%s does not implement IPersistent" % P)
-            p = self.klass()
+            p = P()
             self.assert_(IPersistent.isImplementedBy(p),
                          "%s does not implement IPersistent" % p)
 




More information about the Zodb-checkins mailing list