summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_strptime.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2003-07-22 21:07:16 (GMT)
committerBrett Cannon <bcannon@gmail.com>2003-07-22 21:07:16 (GMT)
commitd1deac06e78fd8fb79018f712dbd70047b5a7fa9 (patch)
tree3d1b4abafe386adb8a3d40f720cd04d1a663f675 /Lib/test/test_strptime.py
parentc23f39ca9dc540ace879fcf9746254d94293b86f (diff)
downloadcpython-d1deac06e78fd8fb79018f712dbd70047b5a7fa9.zip
cpython-d1deac06e78fd8fb79018f712dbd70047b5a7fa9.tar.gz
cpython-d1deac06e78fd8fb79018f712dbd70047b5a7fa9.tar.bz2
Fix error in test of not comparing against 0 item of a list
Diffstat (limited to 'Lib/test/test_strptime.py')
-rw-r--r--Lib/test/test_strptime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_strptime.py b/Lib/test/test_strptime.py
index dcde2c3..77319d9 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")