Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8efc20e

Browse filesBrowse files
committed
feat! add test case for unsupported time format
1 parent 8d77116 commit 8efc20e
Copy full SHA for 8efc20e

File tree

1 file changed

+1
-2
lines changed
Filter options

1 file changed

+1
-2
lines changed

‎extra_tests/snippets/stdlib_datetime.py

Copy file name to clipboardExpand all lines: extra_tests/snippets/stdlib_datetime.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ def __init__(self, offset, name):
132132
assert_raises(NotImplementedError, ne.dst, dt)
133133

134134
# unsupport format in strptime should returns arg itself
135-
# XXX this fails because it runs in python not rustpython
136-
assert_equal(_time.strftime("%4Y"), "%4Y")
135+
assert_equal(_time.strftime("%?"), "%?")
137136

138137
# XXX: bug #1302
139138
# def test_normal(self):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.