mirror of
https://github.com/python/cpython.git
synced 2026-03-06 04:50:58 +00:00
Lowercase the test name, to run last.
This commit is contained in:
parent
050c7e64cd
commit
725af4dc1d
1 changed files with 3 additions and 4 deletions
|
|
@ -298,7 +298,7 @@ def test_localtime_without_arg(self):
|
|||
self.assertAlmostEqual(t1, t0, delta=0.2)
|
||||
|
||||
# XXX run last to work around issue #13309 on Gentoo
|
||||
def test_ZZZ_mktime(self):
|
||||
def test_zzz_mktime(self):
|
||||
# Issue #1726687
|
||||
for t in (-2, -1, 0, 1):
|
||||
try:
|
||||
|
|
@ -317,9 +317,8 @@ def test_ZZZ_mktime(self):
|
|||
time.mktime((-1, 1, 1, 0, 0, 0, -1, -1, -1))
|
||||
except OverflowError:
|
||||
pass
|
||||
msg = "Issue #13309: the '%Z' specifier reports wrong timezone"
|
||||
self.assertEqual(time.strftime('%Z', tt), tzname, msg)
|
||||
tt = time.gmtime(self.t)
|
||||
msg = "Issue #13309: the '%Z' specifier reports erroneous timezone"
|
||||
msg += " after time.mktime((-1, 1, 1, 0, 0, 0, -1, -1, -1))."
|
||||
self.assertEqual(time.strftime('%Z', tt), tzname, msg)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue