[Zope3-checkins] CVS: Zope3/src/zope/app/schema/tests -
test_fieldfactory.py:1.3
Philipp von Weitershausen
cvs-admin at zope.org
Thu Nov 27 08:59:55 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/schema/tests
In directory cvs.zope.org:/tmp/cvs-serv22470/schema/tests
Modified Files:
test_fieldfactory.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/schema/tests/test_fieldfactory.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/schema/tests/test_fieldfactory.py:1.2 Sun Aug 17 02:07:58 2003
+++ Zope3/src/zope/app/schema/tests/test_fieldfactory.py Thu Nov 27 08:59:25 2003
@@ -34,7 +34,7 @@
class TestFieldFactory(PlacelessSetup, unittest.TestCase):
def setUp(self):
- PlacelessSetup.setUp(self)
+ super(TestFieldFactory, self).setUp()
newSecurityManager(system_user)
context = xmlconfig.file('tests/test_fieldfactory.zcml',
zope.app.schema)
More information about the Zope3-Checkins
mailing list