Skip to content

Commit 68d110f

Browse files
Refs #33735 -- Coped with stacklevel change in ASGITest.test_file_response().
Follow-up to c042fe3. The original ignore was added in 0bd2c0c but was not adjusted when the stacklevel changed.
1 parent 2351c1b commit 68d110f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/asgi/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ async def test_asgi_cookies(self):
9494
# StreamingHTTPResponse triggers a warning when iterating the file.
9595
# assertWarnsMessage is not async compatible, so ignore_warnings for the
9696
# test.
97-
@ignore_warnings(module="django.http.response")
97+
@ignore_warnings(module="django.core.handlers.asgi")
9898
async def test_file_response(self):
9999
"""
100100
Makes sure that FileResponse works over ASGI.

0 commit comments

Comments
 (0)