Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyhedral committed Oct 1, 2023
1 parent 49bdc20 commit c5827f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_date_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_dict_int_to_datetime():


def test_dict_str_to_datetime():
s = {"$date": "2023-09-30T01:02:03.004Z"}
s = {"$date": "2023-09-30T01:02:03.004"}
tz = timezone.utc
v = to_datetime(s, tz)
assert isinstance(v, datetime)
Expand Down

0 comments on commit c5827f3

Please sign in to comment.