[Zope3-checkins] CVS: Zope3/src/zope/app/i18n/tests - testi18ndirectives.py:1.7

Philipp von Weitershausen cvs-admin at zope.org
Thu Nov 27 08:59:51 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/i18n/tests
In directory cvs.zope.org:/tmp/cvs-serv22470/i18n/tests

Modified Files:
	testi18ndirectives.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/i18n/tests/testi18ndirectives.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/i18n/tests/testi18ndirectives.py:1.6	Sun Aug 17 02:06:43 2003
+++ Zope3/src/zope/app/i18n/tests/testi18ndirectives.py	Thu Nov 27 08:59:20 2003
@@ -40,7 +40,7 @@
     # XXX: tests for other directives needed
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(DirectivesTest, self).setUp()
         self.context = xmlconfig.file('meta.zcml', zope.app.i18n)
 
     def testRegisterTranslations(self):




More information about the Zope3-Checkins mailing list