]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport bwarsaw's patch:
authorAnthony Baxter <anthonybaxter@gmail.com>
Thu, 18 Apr 2002 04:48:14 +0000 (04:48 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Thu, 18 Apr 2002 04:48:14 +0000 (04:48 +0000)
test_mktime(): Removed.  This wasn't really testing anything useful
(or platform independent).  Closes SF bug #460357.

Bug fix candidate.

Lib/test/test_time.py

index b2a3a2878804f074cd17794adc682f0e3c5486bd..1289931ada1d3fd7048317ce8eea375a1efaa67d 100644 (file)
@@ -41,12 +41,6 @@ class TimeTestCase(unittest.TestCase):
         time.asctime(time.gmtime(self.t))
         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():
     test_support.run_unittest(TimeTestCase)