mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix error in test of not comparing against 0 item of a list
This commit is contained in:
parent
c23f39ca9d
commit
d1deac06e7
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue