Skip to content

Commit ed27cdb

Browse files
authored
fix again
1 parent 85f9544 commit ed27cdb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

jose/jwt.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
from collections import Mapping
99

1010
try:
11-
from datetime import UTC # Preferred in Python 3.13+
11+
from datetime import UTC # Preferred in Python 3.13+
1212
except ImportError:
1313
from datetime import timezone
14-
UTC = timezone.utc # Preferred in Python 3.12 and below
14+
15+
UTC = timezone.utc # Preferred in Python 3.12 and below
1516

1617
from jose import jws
1718

tests/test_jwt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from datetime import UTC # Preferred in Python 3.13+
77
except ImportError:
88
from datetime import timezone # Preferred in Python 3.12 and below
9+
910
UTC = timezone.utc
1011

1112
import pytest

0 commit comments

Comments
 (0)