Commit d1deac06 authored by Brett Cannon's avatar Brett Cannon

Fix error in test of not comparing against 0 item of a list

parent c23f39ca
...@@ -91,7 +91,7 @@ class LocaleTime_Tests(unittest.TestCase): ...@@ -91,7 +91,7 @@ class LocaleTime_Tests(unittest.TestCase):
def test_lang(self): def test_lang(self):
# Make sure lang is set # Make sure lang is set
self.failUnless(self.LT_ins.lang in (locale.getdefaultlocale()[0], self.failUnless(self.LT_ins.lang in (locale.getdefaultlocale()[0],
locale.getlocale(locale.LC_TIME), locale.getlocale(locale.LC_TIME)[0],
''), ''),
"Setting of lang failed") "Setting of lang failed")
......
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