Skip to content

Commit e74523a

Browse files
committed
fix hypothesis test
1 parent 09334c6 commit e74523a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎tests/test_hypothesis.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ def test_datetime_binary(datetime_schema, data):
4747
except ValidationError as exc:
4848
assert exc.errors(include_url=False) == [
4949
{
50-
'type': 'datetime_from_date_parsing',
50+
'ctx': {'error': IsStr()},
51+
'input': IsBytes(),
5152
'loc': (),
5253
'msg': IsStr(regex='Input should be a valid datetime or date, .+'),
53-
'input': IsBytes(),
54-
'ctx': {'error': 'input is too short'},
55-
}
54+
'type': 'datetime_from_date_parsing',
55+
},
5656
]
5757

5858

0 commit comments

Comments
 (0)