Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4eaf50f

Browse files
committed
test_mktime(): Removed. This wasn't really testing anything useful
(or platform independent). Closes SF bug #460357. Bug fix candidate.
1 parent e8aea58 commit 4eaf50f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Lib/test/test_time.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ def test_asctime(self):
4141
time.asctime(time.gmtime(self.t))
4242
self.assertRaises(TypeError, time.asctime, 0)
4343

44-
def test_mktime(self):
45-
self.assertRaises(OverflowError,
46-
time.mktime, (999999, 999999, 999999, 999999,
47-
999999, 999999, 999999, 999999,
48-
999999))
49-
5044

5145
def test_main():
5246
test_support.run_unittest(TimeTestCase)

0 commit comments

Comments
 (0)