[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/translation/tests - test_translate.py:1.8

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


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

Modified Files:
	test_translate.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/browser/services/translation/tests/test_translate.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/services/translation/tests/test_translate.py:1.7	Fri Nov 21 12:11:57 2003
+++ Zope3/src/zope/app/browser/services/translation/tests/test_translate.py	Thu Nov 27 08:59:15 2003
@@ -42,10 +42,10 @@
         self.request = request
         
 
-class TranslateTest(unittest.TestCase, PlacelessSetup):
+class TranslateTest(PlacelessSetup, unittest.TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(TranslateTest, self).setUp()
 
         # Setup the registries
         ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets,




More information about the Zope3-Checkins mailing list