[Python-checkins] CVS: python/dist/src/Lib/test test_email.py,1.16,1.17

Barry Warsaw bwarsaw@users.sourceforge.net
Fri, 09 Nov 2001 11:31:36 -0800


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

Modified Files:
	test_email.py 
Log Message:
test_formatdate(): Dang.  Typo.


Index: test_email.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_email.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** test_email.py	2001/11/09 19:30:58	1.16
--- test_email.py	2001/11/09 19:31:34	1.17
***************
*** 927,931 ****
          # It's a little tougher to test for localtime, but we'll try.  Skip if
          # we don't have strptime().
!         if hasattr(time, 'striptime'):
              gtime = time.strptime(gdate.split()[4], '%H:%M:%S')
              ltime = time.strptime(ldate.split()[4], '%H:%M:%S')
--- 927,931 ----
          # It's a little tougher to test for localtime, but we'll try.  Skip if
          # we don't have strptime().
!         if hasattr(time, 'strptime'):
              gtime = time.strptime(gdate.split()[4], '%H:%M:%S')
              ltime = time.strptime(ldate.split()[4], '%H:%M:%S')