We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f9544 commit ed27cdbCopy full SHA for ed27cdb
jose/jwt.py
@@ -8,10 +8,11 @@
8
from collections import Mapping
9
10
try:
11
- from datetime import UTC # Preferred in Python 3.13+
+ from datetime import UTC # Preferred in Python 3.13+
12
except ImportError:
13
from datetime import timezone
14
- UTC = timezone.utc # Preferred in Python 3.12 and below
+
15
+ UTC = timezone.utc # Preferred in Python 3.12 and below
16
17
from jose import jws
18
tests/test_jwt.py
@@ -6,6 +6,7 @@
6
from datetime import UTC # Preferred in Python 3.13+
7
from datetime import timezone # Preferred in Python 3.12 and below
UTC = timezone.utc
import pytest
0 commit comments