From: Brett Cannon Date: Tue, 22 Jul 2003 21:07:16 +0000 (+0000) Subject: Fix error in test of not comparing against 0 item of a list X-Git-Tag: v2.3c2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1deac06e78fd8fb79018f712dbd70047b5a7fa9;p=thirdparty%2FPython%2Fcpython.git Fix error in test of not comparing against 0 item of a list --- diff --git a/Lib/test/test_strptime.py b/Lib/test/test_strptime.py index dcde2c3c873e..77319d97b41a 100644 --- a/Lib/test/test_strptime.py +++ b/Lib/test/test_strptime.py @@ -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")