[Zope3-checkins] CVS: Zope3/src/zope/tal/tests - test_talinterpreter.py:1.3.4.13

Fred L. Drake, Jr. fred at zope.com
Fri Aug 8 16:27:48 EDT 2003


Update of /cvs-repository/Zope3/src/zope/tal/tests
In directory cvs.zope.org:/tmp/cvs-serv18996

Modified Files:
      Tag: srichter-i18n-macro-interaction-branch
	test_talinterpreter.py 
Log Message:
don't use super() with old-style classes


=== Zope3/src/zope/tal/tests/test_talinterpreter.py 1.3.4.12 => 1.3.4.13 ===
--- Zope3/src/zope/tal/tests/test_talinterpreter.py:1.3.4.12	Fri Aug  8 15:25:39 2003
+++ Zope3/src/zope/tal/tests/test_talinterpreter.py	Fri Aug  8 15:27:43 2003
@@ -149,9 +149,9 @@
             def translate(self, msgid, domain=None, mapping=None,
                           context=None, target_language=None, default=None):
                 self.data.append(msgid)
-                return super(CollectingTranslationService, self).translate(
+                return DummyTranslationService.translate(
+                    self,
                     msgid, domain, mapping, context, target_language, default)
-                                                                    
 
         engine = DummyEngine()
         engine.setLocal('bar', 'BaRvAlUe')




More information about the Zope3-Checkins mailing list