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
752c1d4c
Commit
752c1d4c
authored
Nov 01, 2011
by
Florent Xicluna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add temporary tests to troubleshoot issue #13309 on Gentoo buildbot.
parent
bceb528a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Lib/test/test_time.py
Lib/test/test_time.py
+4
-0
No files found.
Lib/test/test_time.py
View file @
752c1d4c
...
...
@@ -161,6 +161,10 @@ class TimeTestCase(unittest.TestCase):
self
.
fail
(
"conversion specifier %r failed with '%s' input."
%
(
format
,
strf_output
))
# XXX Temporary tests to troubleshoot issue #13309 on buildbots
test_aaa_strptime
=
test_strptime
test_bbb_strptime
=
test_strptime
def
test_strptime_bytes
(
self
):
# Make sure only strings are accepted as arguments to strptime.
self
.
assertRaises
(
TypeError
,
time
.
strptime
,
b'2009'
,
"%Y"
)
...
...
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