summaryrefslogtreecommitdiff
path: root/tests/asgi/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/asgi/tests.py')
-rw-r--r--tests/asgi/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/asgi/tests.py b/tests/asgi/tests.py
index bb1020dd47..0e23f7c245 100644
--- a/tests/asgi/tests.py
+++ b/tests/asgi/tests.py
@@ -94,7 +94,7 @@ class ASGITest(SimpleTestCase):
# StreamingHTTPResponse triggers a warning when iterating the file.
# assertWarnsMessage is not async compatible, so ignore_warnings for the
# test.
- @ignore_warnings(module="django.http.response")
+ @ignore_warnings(module="django.core.handlers.asgi")
async def test_file_response(self):
"""
Makes sure that FileResponse works over ASGI.