diff --git a/tests/test_client_functional.py b/tests/test_client_functional.py index 51dfc6d44c9..9c621554719 100644 --- a/tests/test_client_functional.py +++ b/tests/test_client_functional.py @@ -3754,7 +3754,7 @@ async def handler(request: web.Request) -> NoReturn: async def test_aiohttp_request_ctx_manager_not_found() -> None: with pytest.raises(aiohttp.ClientConnectionError): - async with aiohttp.request("GET", "http://wrong-dns-name.com"): + async with aiohttp.request("GET", "http://wrong-dns-name.invalid"): assert False