Skip to content

Commit da437d4

Browse files
committed
Merge pull request flask-restful#193 from garretraziel/master
modified test_types.py to be compatible with python 3
2 parents 48f0388 + b556d4c commit da437d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def test_invalid_isointerval_error():
335335

336336
error = cm.exception
337337
assert_equal(
338-
error.message,
338+
str(error),
339339
"Invalid argument: 2013-01-01/blah. argument must be a valid ISO8601 "
340340
"date/time interval.",
341341
)

0 commit comments

Comments
 (0)