summaryrefslogtreecommitdiff
path: root/tests/auth_tests
diff options
context:
space:
mode:
authorCarlton Gibson <carlton.gibson@noumenal.es>2022-03-23 12:15:36 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-03-24 06:29:50 +0100
commitbb61f0186d5c490caa44f3e3672d81e14414d33c (patch)
tree71e682d415e4640fd1e950af0e4921b2af57ea60 /tests/auth_tests
parent1cf60ce6017d904024ee132f7edae0b4b821a954 (diff)
downloaddjango-bb61f0186d5c490caa44f3e3672d81e14414d33c.tar.gz
Refs #32365 -- Removed internal uses of utils.timezone.utc alias.
Remaining test case ensures that uses of the alias are mapped canonically by the migration writer.
Diffstat (limited to 'tests/auth_tests')
-rw-r--r--tests/auth_tests/test_remote_user.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auth_tests/test_remote_user.py b/tests/auth_tests/test_remote_user.py
index 8fb1b972b5..9e6e0dce20 100644
--- a/tests/auth_tests/test_remote_user.py
+++ b/tests/auth_tests/test_remote_user.py
@@ -1,4 +1,4 @@
-from datetime import datetime
+from datetime import datetime, timezone
from django.conf import settings
from django.contrib.auth import authenticate
@@ -13,7 +13,6 @@ from django.test import (
modify_settings,
override_settings,
)
-from django.utils import timezone
from django.utils.deprecation import RemovedInDjango50Warning