Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
725af4dc
Commit
725af4dc
authored
Nov 01, 2011
by
Florent Xicluna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lowercase the test name, to run last.
parent
050c7e64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Lib/test/test_time.py
Lib/test/test_time.py
+3
-4
No files found.
Lib/test/test_time.py
View file @
725af4dc
...
...
@@ -298,7 +298,7 @@ class TimeTestCase(unittest.TestCase):
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 @@ class TimeTestCase(unittest.TestCase):
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment