From: Anthony Baxter Date: Thu, 18 Apr 2002 04:48:14 +0000 (+0000) Subject: backport bwarsaw's patch: X-Git-Tag: v2.2.2b1~436 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12ef609af41dccbec82a21a1891d7de41112d2d6;p=thirdparty%2FPython%2Fcpython.git backport bwarsaw's patch: 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 b2a3a2878804..1289931ada1d 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)