[Zope3-checkins] CVS: Zope3/src/zope/i18n/tests - test_xmllocales.py:1.2
Stephan Richter
srichter@cbu.edu
Mon, 6 Jan 2003 04:24:47 -0500
Update of /cvs-repository/Zope3/src/zope/i18n/tests
In directory cvs.zope.org:/tmp/cvs-serv26346/i18n/tests
Modified Files:
test_xmllocales.py
Log Message:
Fixing an error that was generated by the nightly test with Python 2.2.2
It required amking the test class an object, so that super() would work. I
made all the other classes inherit from object as well to avoid the issue
there as well.
=== Zope3/src/zope/i18n/tests/test_xmllocales.py 1.1 => 1.2 ===
--- Zope3/src/zope/i18n/tests/test_xmllocales.py:1.1 Sun Jan 5 15:20:21 2003
+++ Zope3/src/zope/i18n/tests/test_xmllocales.py Mon Jan 6 04:24:45 2003
@@ -21,7 +21,7 @@
from zope.i18n.locales import ICUXMLLocaleFactory
from zope.i18n.format import parseDateTimePattern, parseNumberPattern
-class LocaleXMLFileTestCase(TestCase):
+class LocaleXMLFileTestCase(TestCase, object):
"""This test verifies that every locale XML fiel can be loaded."""
def __init__(self, path):