From 68d110f1fe593b7a368486c41cd062563a74fe0a Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Fri, 23 Jan 2026 12:08:15 -0500 Subject: [PATCH] Refs #33735 -- Coped with stacklevel change in ASGITest.test_file_response(). Follow-up to c042fe3a74fb213c93b1052f7de4d99a6e6948e0. The original ignore was added in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830 but was not adjusted when the stacklevel changed. --- tests/asgi/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/asgi/tests.py b/tests/asgi/tests.py index bb1020dd475c..0e23f7c24538 100644 --- a/tests/asgi/tests.py +++ b/tests/asgi/tests.py @@ -94,7 +94,7 @@ async def test_asgi_cookies(self): # 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.