Commit 725af4dc authored by Florent Xicluna's avatar Florent Xicluna

Lowercase the test name, to run last.

parent 050c7e64
...@@ -298,7 +298,7 @@ class TimeTestCase(unittest.TestCase): ...@@ -298,7 +298,7 @@ class TimeTestCase(unittest.TestCase):
self.assertAlmostEqual(t1, t0, delta=0.2) self.assertAlmostEqual(t1, t0, delta=0.2)
# XXX run last to work around issue #13309 on Gentoo # XXX run last to work around issue #13309 on Gentoo
def test_ZZZ_mktime(self): def test_zzz_mktime(self):
# Issue #1726687 # Issue #1726687
for t in (-2, -1, 0, 1): for t in (-2, -1, 0, 1):
try: try:
...@@ -317,9 +317,8 @@ class TimeTestCase(unittest.TestCase): ...@@ -317,9 +317,8 @@ class TimeTestCase(unittest.TestCase):
time.mktime((-1, 1, 1, 0, 0, 0, -1, -1, -1)) time.mktime((-1, 1, 1, 0, 0, 0, -1, -1, -1))
except OverflowError: except OverflowError:
pass pass
msg = "Issue #13309: the '%Z' specifier reports wrong timezone" msg = "Issue #13309: the '%Z' specifier reports erroneous timezone"
self.assertEqual(time.strftime('%Z', tt), tzname, msg) msg += " after time.mktime((-1, 1, 1, 0, 0, 0, -1, -1, -1))."
tt = time.gmtime(self.t)
self.assertEqual(time.strftime('%Z', tt), tzname, msg) self.assertEqual(time.strftime('%Z', tt), tzname, msg)
......
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