]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Use different hosts in pool acquiry timeout test. 12/head
authorTom Christie <tom@tomchristie.com>
Tue, 23 Apr 2019 08:37:10 +0000 (09:37 +0100)
committerTom Christie <tom@tomchristie.com>
Tue, 23 Apr 2019 08:37:10 +0000 (09:37 +0100)
tests/test_timeouts.py

index e9003195691fb1491694fb877e6707875c1feff8..b1ceef93d455cc0fd0f1a5a73bcb4432c7fae006 100644 (file)
@@ -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()