Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencpope authored Sep 18, 2024
1 parent 83aeae6 commit 81afb6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion descarteslabs/core/common/client/tests/test_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class TzTest(Document):
print(f"doc {type(doc)} {doc}")
print(f"doc.date {type(doc.date)} {doc.date}")
print(f"doc.date.tzinfo {type(doc.date.tzinfo)} {doc.date.tzinfo}")
print(f"pytz.timezone(MST)" {type(pytz.timezone('MST'))} {pytz.timezone('MST')}")
print(f"pytz.timezone(MST) {type(pytz.timezone('MST'))} {pytz.timezone('MST')}")
assert doc.date.tzinfo == pytz.timezone("MST")
assert doc.date.astimezone(tz=timezone.utc) == now.replace(tzinfo=timezone.utc)

Expand Down

0 comments on commit 81afb6c

Please sign in to comment.