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

This commit is contained in:
Brett Cannon 2003-07-22 21:07:16 +00:00
parent c23f39ca9d
commit d1deac06e7
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class LocaleTime_Tests(unittest.TestCase):
def test_lang(self):
# Make sure lang is set
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")