summaryrefslogtreecommitdiff
path: root/tests/middleware_exceptions
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/middleware_exceptions
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/middleware_exceptions')
-rw-r--r--tests/middleware_exceptions/middleware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/middleware_exceptions/middleware.py b/tests/middleware_exceptions/middleware.py
index f50aa61327..9d4c87099f 100644
--- a/tests/middleware_exceptions/middleware.py
+++ b/tests/middleware_exceptions/middleware.py
@@ -1,4 +1,4 @@
-from asgiref.sync import iscoroutinefunction, markcoroutinefunction
+from inspect import iscoroutinefunction, markcoroutinefunction
from django.http import Http404, HttpResponse
from django.template import engines