Skip to content

Commit d0a4eb2

Browse files
committed
in test, use an ISO format that Python <3.11 will accept
1 parent bf2b5c4 commit d0a4eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_units/test_auth/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ def test_get_expires_at():
1414
def test_is_expired():
1515
# correctness not tested, but none of these should raise an exception
1616
_is_expired("2024-10-01T14:26:21")
17-
_is_expired("2024-10-01T14:26:21Z")
17+
_is_expired("2024-10-01T14:26:21+00:00")
1818
_is_expired(datetime.datetime.now())
1919
_is_expired(datetime.datetime.now(datetime.timezone.utc))

0 commit comments

Comments
 (0)