From 9598332bf0f9925cb48e492c87f993c078d754cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Setla?= Date: Sun, 4 Feb 2024 17:54:42 +0100 Subject: [PATCH] fix test_HTTP_302_REDIRECT_NON_HTTP --- tests/test_client_functional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_client_functional.py b/tests/test_client_functional.py index fe05539e400..89a161aa7bd 100644 --- a/tests/test_client_functional.py +++ b/tests/test_client_functional.py @@ -1125,7 +1125,7 @@ async def redirect(request): app.router.add_get("/redirect", redirect) client = await aiohttp_client(app) - with pytest.raises(InvalidUrlRedirectClientError): + with pytest.raises(NonHttpUrlRedirectClientError): await client.get("/redirect")