diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-01-23 12:08:15 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-01-23 13:16:30 -0500 |
| commit | 68d110f1fe593b7a368486c41cd062563a74fe0a (patch) | |
| tree | 2f3d911efd96042531ad919bf042555e725154a9 /tests/asgi | |
| parent | 2351c1b12cc9cf82d642f769c774bc3ea0cc4006 (diff) | |
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.
Diffstat (limited to 'tests/asgi')
| -rw-r--r-- | tests/asgi/tests.py | 2 |
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. |
