From: Tom Christie Date: Tue, 23 Apr 2019 08:37:10 +0000 (+0100) Subject: Use different hosts in pool acquiry timeout test. X-Git-Tag: 0.2.0~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b2f3ed656bf81e4d5f550b74c06393a62e8f536;p=thirdparty%2Fhttpx.git Use different hosts in pool acquiry timeout test. --- 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()