commit | d1deac06e78fd8fb79018f712dbd70047b5a7fa9 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Tue Jul 22 21:07:16 2003 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Tue Jul 22 21:07:16 2003 +0000 |
tree | 3d1b4abafe386adb8a3d40f720cd04d1a663f675 | |
parent | c23f39ca9dc540ace879fcf9746254d94293b86f [diff] [blame] |
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 dcde2c3..77319d9 100644 --- a/Lib/test/test_strptime.py +++ b/Lib/test/test_strptime.py
@@ -91,7 +91,7 @@ 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")