[Zope-Checkins] CVS: Packages/Zope/Startup/tests -
testStarter.py:1.1.2.13
Stefan H. Holek
stefan at epy.co.at
Thu Mar 10 14:45:59 EST 2005
Update of /cvs-repository/Packages/Zope/Startup/tests
In directory cvs.zope.org:/tmp/cvs-serv29182/Zope/Startup/tests
Modified Files:
Tag: Zope-2_7-branch
testStarter.py
Log Message:
I happen to have a system here where the locale test actually runs, and
getlocale() returns a tuple here. The original test author obviously saw a
list returned so I'll explicitly tuplify to be on the safe side...
=== Packages/Zope/Startup/tests/testStarter.py 1.1.2.12 => 1.1.2.13 ===
--- Packages/Zope/Startup/tests/testStarter.py:1.1.2.12 Fri Jan 14 14:48:20 2005
+++ Packages/Zope/Startup/tests/testStarter.py Thu Mar 10 14:45:58 2005
@@ -96,7 +96,7 @@
raise
starter = ZopeStarter(conf)
starter.setupLocale()
- self.assertEqual(locale.getlocale(), ['en_GB', 'ISO8859-1'])
+ self.assertEqual(tuple(locale.getlocale()), ('en_GB', 'ISO8859-1'))
finally:
# reset to system-defined locale
locale.setlocale(locale.LC_ALL, '')
More information about the Zope-Checkins
mailing list