From ae824eceb1ddcaef336677bf9a6e704097cd2309 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Tue, 21 Mar 2023 20:51:53 +0100 Subject: [4.2.x] Fixed #34428 -- Made ASGIStaticFilesHandler adapt response to async iterator. Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830. Backport of 02c356f2f3945b8075735d485c3cf48cad991011 from main --- tests/asgi/tests.py | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/asgi/tests.py b/tests/asgi/tests.py index 61d040b45b..f2e293d8bc 100644 --- a/tests/asgi/tests.py +++ b/tests/asgi/tests.py @@ -116,7 +116,6 @@ class ASGITest(SimpleTestCase): "django.contrib.staticfiles.finders.FileSystemFinder", ], ) - @ignore_warnings(module="django.http.response") async def test_static_file_response(self): application = ASGIStaticFilesHandler(get_asgi_application()) # Construct HTTP request. -- cgit v1.3