test_mktime(): Removed. This wasn't really testing anything useful
(or platform independent). Closes SF bug #460357. Bug fix candidate.
This commit is contained in:
parent
e8aea58b99
commit
4eaf50f435
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue