Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update extra_tests/snippets/stdlib_datetime.py
  • Loading branch information
youknowone authored Feb 21, 2023
commit e42553867f5ab6cbc28fe17e1093db6f7f3d7a25
2 changes: 1 addition & 1 deletion extra_tests/snippets/stdlib_datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __init__(self, offset, name):

# unsupport format in strptime returns arg itself
# in linux. Todo: add cases for Mac/Windows
if sys.platform == 'linux':
if sys.platform.startswith("linux"):
assert_equal(_time.strftime("%?"), "%?")

# XXX: bug #1302
Expand Down