Skip to content

Commit

Permalink
fix hypothesis test
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-runkle committed Dec 19, 2023
1 parent 09334c6 commit e74523a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_hypothesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ def test_datetime_binary(datetime_schema, data):
except ValidationError as exc:
assert exc.errors(include_url=False) == [
{
'type': 'datetime_from_date_parsing',
'ctx': {'error': IsStr()},
'input': IsBytes(),
'loc': (),
'msg': IsStr(regex='Input should be a valid datetime or date, .+'),
'input': IsBytes(),
'ctx': {'error': 'input is too short'},
}
'type': 'datetime_from_date_parsing',
},
]


Expand Down

0 comments on commit e74523a

Please sign in to comment.