From 5b2f3ed656bf81e4d5f550b74c06393a62e8f536 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Tue, 23 Apr 2019 09:37:10 +0100 Subject: [PATCH] Use different hosts in pool acquiry timeout test. --- tests/test_timeouts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_timeouts.py b/tests/test_timeouts.py index e9003195..b1ceef93 100644 --- a/tests/test_timeouts.py +++ b/tests/test_timeouts.py @@ -31,6 +31,6 @@ async def test_pool_timeout(server): response = await http.request("GET", "http://127.0.0.1:8000/", stream=True) with pytest.raises(httpcore.PoolTimeout): - await http.request("GET", "http://127.0.0.1:8000/") + await http.request("GET", "http://localhost:8000/") await response.read() -- 2.47.3