make mypy happy
This commit is contained in:
parent
a588bee0fa
commit
58935518e9
@ -199,9 +199,9 @@ def test_raise_for_excepted_status():
|
||||
# Calling .raise_for_excepted_status without setting a request instance
|
||||
# should raise a runtime error.
|
||||
response = httpx.Response(200)
|
||||
with pytest.raises(RuntimeError) as exc_info:
|
||||
with pytest.raises(RuntimeError) as runtime_exc_info:
|
||||
response.raise_for_excepted_status([200])
|
||||
assert "raise_for_excepted_status" in str(exc_info.value)
|
||||
assert "raise_for_excepted_status" in str(runtime_exc_info.value)
|
||||
|
||||
|
||||
def test_response_repr():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user