set -x
-${PREFIX}coverage report --show-missing --skip-covered --fail-under=99
+${PREFIX}coverage report --omit=httpx/_transports/urllib3.py --show-missing --skip-covered --fail-under=100
assert repr(response) == "<Response [200 OK]>"
assert response.elapsed > timedelta(seconds=0)
+ with pytest.raises(httpx.NotRedirectResponse):
+ await response.anext()
+
@pytest.mark.parametrize(
"url",
assert repr(response) == "<Response [200 OK]>"
assert response.elapsed > timedelta(0)
+ with pytest.raises(httpx.NotRedirectResponse):
+ response.next()
+
@pytest.mark.parametrize(
"url",