[Python-checkins] python/dist/src/Lib/test test_strptime.py,1.17,1.18

bcannon@users.sourceforge.net bcannon@users.sourceforge.net
Tue, 22 Jul 2003 14:07:18 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv11117/Lib/test

Modified Files:
	test_strptime.py 
Log Message:
Fix error in test of not comparing against 0 item of a list

Index: test_strptime.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_strptime.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** test_strptime.py	3 Jul 2003 19:59:57 -0000	1.17
--- test_strptime.py	22 Jul 2003 21:07:16 -0000	1.18
***************
*** 92,96 ****
          # Make sure lang is set
          self.failUnless(self.LT_ins.lang in (locale.getdefaultlocale()[0],
!                                              locale.getlocale(locale.LC_TIME),
                                               ''),
                          "Setting of lang failed")
--- 92,96 ----
          # Make sure lang is set
          self.failUnless(self.LT_ins.lang in (locale.getdefaultlocale()[0],
!                                              locale.getlocale(locale.LC_TIME)[0],
                                               ''),
                          "Setting of lang failed")