MCPcopy
hub / github.com/aio-libs/aiohttp / test_request_conn_error

Function test_request_conn_error

tests/test_client_functional.py:3011–3015  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3009
3010
3011async def test_request_conn_error() -> None:
3012 client = aiohttp.ClientSession()
3013 with pytest.raises(aiohttp.ClientConnectionError):
3014 await client.get("http://0.0.0.0:1")
3015 await client.close()
3016
3017
3018@pytest.mark.xfail

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
closeMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…