Skip to content

Commit

Permalink
test: fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
ecederstrand committed Jan 21, 2025
1 parent 7a00a2b commit bc8e9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def test_date_or_datetime_field(self):
</t:Item>
</Envelope>"""
elem = to_xml(payload).find(f"{{{TNS}}}Item")
self.assertEqual(field.from_xml(elem=elem, account=account), datetime.datetime(2017, 6, 21))
self.assertEqual(field.from_xml(elem=elem, account=account), datetime.date(2017, 6, 21))

# TZ-aware date string
payload = b"""\
Expand Down

0 comments on commit bc8e9c1

Please sign in to comment.