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
60f999b4
Commit
60f999b4
authored
Nov 01, 2011
by
Florent Xicluna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Troubleshoot issue #13309 on Gentoo buildbot.
parent
1b7954c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Lib/test/test_time.py
Lib/test/test_time.py
+4
-2
No files found.
Lib/test/test_time.py
View file @
60f999b4
...
...
@@ -162,8 +162,8 @@ class TimeTestCase(unittest.TestCase):
(
format
,
strf_output
))
# XXX Temporary tests to troubleshoot issue #13309 on buildbots
test_
a
aa_strptime
=
test_strptime
test_
bbb
_strptime
=
test_strptime
test_
m
aa_strptime
=
test_strptime
test_
mzz
_strptime
=
test_strptime
def
test_strptime_bytes
(
self
):
# Make sure only strings are accepted as arguments to strptime.
...
...
@@ -310,6 +310,8 @@ class TimeTestCase(unittest.TestCase):
pass
else
:
self
.
assertEqual
(
time
.
mktime
(
tt
),
t
)
self
.
assertNotEqual
(
time
.
strftime
(
'%Z'
,
time
.
gmtime
(
self
.
t
)),
'LMT'
,
"strftime bug after processing t = %s"
%
t
)
# It may not be possible to reliably make mktime return error
# on all platfom. This will make sure that no other exception
# than OverflowError is raised for an extreme value.
...
...
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