From d1deac06e78fd8fb79018f712dbd70047b5a7fa9 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 22 Jul 2003 21:07:16 +0000 Subject: [PATCH] Fix error in test of not comparing against 0 item of a list --- Lib/test/test_strptime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_strptime.py b/Lib/test/test_strptime.py index dcde2c3c873..77319d97b41 100644 --- a/Lib/test/test_strptime.py +++ b/Lib/test/test_strptime.py @@ -91,7 +91,7 @@ def test_date_time(self): 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")