[Zope3-checkins] CVS: Zope3/src/zope/app/cache/tests -
test_annotationcacheable.py:1.11 test_caching.py:1.11
Philipp von Weitershausen
cvs-admin at zope.org
Thu Nov 27 08:59:47 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/cache/tests
In directory cvs.zope.org:/tmp/cvs-serv22470/cache/tests
Modified Files:
test_annotationcacheable.py test_caching.py
Log Message:
Use super in test setUp methods. We can do this now because TestCase
(finally!) is a new-style class Python 2.3.
=== Zope3/src/zope/app/cache/tests/test_annotationcacheable.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/cache/tests/test_annotationcacheable.py:1.10 Fri Nov 21 12:12:00 2003
+++ Zope3/src/zope/app/cache/tests/test_annotationcacheable.py Thu Nov 27 08:59:16 2003
@@ -53,7 +53,7 @@
class TestAnnotationCacheable(PlacelessSetup, TestCase):
def setUp(self):
- PlacelessSetup.setUp(self)
+ super(TestAnnotationCacheable, self).setUp()
ztapi.provideAdapter(
IAttributeAnnotatable, IAnnotations,
AttributeAnnotations)
=== Zope3/src/zope/app/cache/tests/test_caching.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/cache/tests/test_caching.py:1.10 Fri Nov 21 12:12:00 2003
+++ Zope3/src/zope/app/cache/tests/test_caching.py Thu Nov 27 08:59:16 2003
@@ -52,7 +52,7 @@
class Test(PlacelessSetup, TestCase):
def setUp(self):
- PlacelessSetup.setUp(self)
+ super(Test, self).setUp()
ztapi.provideAdapter(
IAttributeAnnotatable, IAnnotations,
AttributeAnnotations)
More information about the Zope3-Checkins
mailing list