Skip to content
Myr

Use different hosts in pool acquiry timeout test.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tom Christie · committed by Tom Christie · parent 275443c · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:tests/test_timeouts.py+1 added-1 removed
29 unmodified lines
30 async with httpcore.ConnectionPool(timeout=timeout, limits=limits) as http:31 response = await http.request("GET", "http://127.0.0.1:8000/", stream=True)3233 with pytest.raises(httpcore.PoolTimeout):34 await http.request("GET", "http://127.0.0.1:8000/")34 await http.request("GET", "http://localhost:8000/")3536 await response.read()