Skip to content

Commit 725af4d

Browse files
committed
Lowercase the test name, to run last.
1 parent 050c7e6 commit 725af4d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Lib/test/test_time.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def test_localtime_without_arg(self):
298298
self.assertAlmostEqual(t1, t0, delta=0.2)
299299

300300
# XXX run last to work around issue #13309 on Gentoo
301-
def test_ZZZ_mktime(self):
301+
def test_zzz_mktime(self):
302302
# Issue #1726687
303303
for t in (-2, -1, 0, 1):
304304
try:
@@ -317,9 +317,8 @@ def test_ZZZ_mktime(self):
317317
time.mktime((-1, 1, 1, 0, 0, 0, -1, -1, -1))
318318
except OverflowError:
319319
pass
320-
msg = "Issue #13309: the '%Z' specifier reports wrong timezone"
321-
self.assertEqual(time.strftime('%Z', tt), tzname, msg)
322-
tt = time.gmtime(self.t)
320+
msg = "Issue #13309: the '%Z' specifier reports erroneous timezone"
321+
msg += " after time.mktime((-1, 1, 1, 0, 0, 0, -1, -1, -1))."
323322
self.assertEqual(time.strftime('%Z', tt), tzname, msg)
324323

325324

0 commit comments

Comments
 (0)