Commit 3a176dce authored by Jim Fulton's avatar Jim Fulton

Fixed a big in testInterface. There is no longer a self.klass.

parent a35534a0
...@@ -90,7 +90,7 @@ class Test(unittest.TestCase): ...@@ -90,7 +90,7 @@ class Test(unittest.TestCase):
self.assert_(IPersistent.isImplementedByInstancesOf(P), self.assert_(IPersistent.isImplementedByInstancesOf(P),
"%s does not implement IPersistent" % P) "%s does not implement IPersistent" % P)
p = self.klass() p = P()
self.assert_(IPersistent.isImplementedBy(p), self.assert_(IPersistent.isImplementedBy(p),
"%s does not implement IPersistent" % p) "%s does not implement IPersistent" % p)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment