Kaydet (Commit) 4eaf50f4 authored tarafından Barry Warsaw's avatar Barry Warsaw

test_mktime(): Removed. This wasn't really testing anything useful

(or platform independent).  Closes SF bug #460357.

Bug fix candidate.
üst e8aea58b
...@@ -41,12 +41,6 @@ class TimeTestCase(unittest.TestCase): ...@@ -41,12 +41,6 @@ class TimeTestCase(unittest.TestCase):
time.asctime(time.gmtime(self.t)) time.asctime(time.gmtime(self.t))
self.assertRaises(TypeError, time.asctime, 0) 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(): def test_main():
test_support.run_unittest(TimeTestCase) test_support.run_unittest(TimeTestCase)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment