mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
Issue #13847: Fix test_time, time.gmtime() doesn't use localtime()
On Windows, localtime(-1) fails, but not gmtime(1).
This commit is contained in:
parent
a2477208c8
commit
2d6251c7f7
1 changed files with 0 additions and 1 deletions
|
@ -361,7 +361,6 @@ class TimeTestCase(unittest.TestCase):
|
|||
self.skipTest("unable to find an invalid time_t value")
|
||||
|
||||
self.assertRaises(OSError, time.localtime, invalid_time_t)
|
||||
self.assertRaises(OSError, time.gmtime, invalid_time_t)
|
||||
self.assertRaises(OSError, time.ctime, invalid_time_t)
|
||||
|
||||
class TestLocale(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue