From: Barry Warsaw Date: Tue, 16 Apr 2002 12:37:55 +0000 (+0000) Subject: test_mktime(): Removed. This wasn't really testing anything useful X-Git-Tag: v2.3c1~5922 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4eaf50f4357587da0c444a4f40eb329f78680acc;p=python test_mktime(): Removed. This wasn't really testing anything useful (or platform independent). Closes SF bug #460357. Bug fix candidate. --- diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index b2a3a28788..1289931ada 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -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)