summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_decorators.py
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2026-01-30 15:53:27 -0500
committerJacob Walls <jacobtylerwalls@gmail.com>2026-01-31 08:59:54 -0500
commit4a52533329a03207c1c4592a13fbb12b9ec5ef9e (patch)
treed45724230dc3a299b1563418e2713cfc81450604 /tests/auth_tests/test_decorators.py
parent93dfb16e96797583a6f45eeb918e78c7f2817318 (diff)
Refs #34118 -- Removed asgiref coroutine detection shims.
As Python 3.12 is now the floor, we can drop the shims and use the `inspect` module.
Diffstat (limited to 'tests/auth_tests/test_decorators.py')
-rw-r--r--tests/auth_tests/test_decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auth_tests/test_decorators.py b/tests/auth_tests/test_decorators.py
index 2c3f93d2ab..08f6186e34 100644
--- a/tests/auth_tests/test_decorators.py
+++ b/tests/auth_tests/test_decorators.py
@@ -1,4 +1,4 @@
-from asgiref.sync import iscoroutinefunction
+from inspect import iscoroutinefunction
from django.conf import settings
from django.contrib.auth import models