From d0a4eb2195ed40b5e66686187d585e59f6059606 Mon Sep 17 00:00:00 2001 From: Nick Tarleton Date: Tue, 1 Oct 2024 14:55:46 -0700 Subject: [PATCH] in test, use an ISO format that Python <3.11 will accept --- tests/test_units/test_auth/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_units/test_auth/test_utils.py b/tests/test_units/test_auth/test_utils.py index cd250c3..8b938a7 100644 --- a/tests/test_units/test_auth/test_utils.py +++ b/tests/test_units/test_auth/test_utils.py @@ -14,6 +14,6 @@ def test_get_expires_at(): def test_is_expired(): # correctness not tested, but none of these should raise an exception _is_expired("2024-10-01T14:26:21") - _is_expired("2024-10-01T14:26:21Z") + _is_expired("2024-10-01T14:26:21+00:00") _is_expired(datetime.datetime.now()) _is_expired(datetime.datetime.now(datetime.timezone.utc))