[Python-checkins] python/dist/src/Lib/test test_time.py,1.8,1.8.12.1

anthonybaxter@sourceforge.net anthonybaxter@sourceforge.net
2002年4月17日 21:48:16 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv7190/Lib/test
Modified Files:
 Tag: release22-maint
	test_time.py 
Log Message:
backport bwarsaw's patch:
test_mktime(): Removed. This wasn't really testing anything useful
(or platform independent). Closes SF bug #460357.
Bug fix candidate.
Index: test_time.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_time.py,v
retrieving revision 1.8
retrieving revision 1.8.12.1
diff -C2 -d -r1.8 -r1.8.12.1
*** test_time.py	20 Sep 2001 21:33:42 -0000	1.8
--- test_time.py	18 Apr 2002 04:48:14 -0000	1.8.12.1
***************
*** 42,51 ****
 self.assertRaises(TypeError, time.asctime, 0)
 
- def test_mktime(self):
- self.assertRaises(OverflowError,
- time.mktime, (999999, 999999, 999999, 999999,
- 999999, 999999, 999999, 999999,
- 999999))
- 
 
 def test_main():
--- 42,45 ----

AltStyle によって変換されたページ (->オリジナル) /