[Zope3-checkins] CVS: Zope3/src/zope/app/form/tests -
test_utility.py:1.18
Philipp von Weitershausen
cvs-admin at zope.org
Thu Nov 27 08:59:49 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/form/tests
In directory cvs.zope.org:/tmp/cvs-serv22470/form/tests
Modified Files:
test_utility.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/form/tests/test_utility.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/form/tests/test_utility.py:1.17 Fri Nov 21 12:12:04 2003
+++ Zope3/src/zope/app/form/tests/test_utility.py Thu Nov 27 08:59:19 2003
@@ -114,7 +114,7 @@
class Test(PlacelessSetup, TestCase):
def setUp(self):
- PlacelessSetup.setUp(self)
+ super(Test, self).setUp()
ztapi.setDefaultViewName(IText, 'edit')
ztapi.browserView(IText, 'edit', W)
More information about the Zope3-Checkins
mailing list