Commit 06cb5aac authored by Stefan H. Holek's avatar Stefan H. Holek

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...
parent 74f5d0cd
......@@ -108,7 +108,7 @@ class ZopeStarterTestCase(test_logger.LoggingTestBase):
raise
starter = self.get_starter(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, '')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment