cpython: Issue #13847: Fix test_time, time.gmtime() doesn't use localtime()
http://hg.python.org/cpython/rev/5b42aefb8969 changeset: 74683:5b42aefb8969 user: Victor Stinner <victor.stinner@haypocalc.com> date: Mon Jan 30 00:23:32 2012 +0100 summary: Issue #13847: Fix test_time, time.gmtime() doesn't use localtime() On Windows, localtime(-1) fails, but not gmtime(1). files: Lib/test/test_time.py | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -361,7 +361,6 @@ 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): -- Repository URL: http://hg.python.org/cpython
participants (1)
-
victor.stinner