Skip to content

Commit b3163c5

Browse files
committed
chore! change assertion for window/mac system
1 parent 052e984 commit b3163c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extra_tests/snippets/stdlib_datetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def __init__(self, offset, name):
137137
assert_equal(_time.strftime("%?"), "%?")
138138
elif sys.platform in ('darwin', 'win32'):
139139
# or return Value error in case Mac/Windows
140-
with assert_raises(ValueError): _time.strftime("%?")
140+
assert_equal(_time.strftime("%?"), "?")
141141

142142
# XXX: bug #1302
143143
# def test_normal(self):

0 commit comments

Comments
 (0)