Skip to content

Commit 5893551

Browse files
committed
make mypy happy
1 parent a588bee commit 5893551

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/models/test_responses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,9 @@ def test_raise_for_excepted_status():
199199
# Calling .raise_for_excepted_status without setting a request instance
200200
# should raise a runtime error.
201201
response = httpx.Response(200)
202-
with pytest.raises(RuntimeError) as exc_info:
202+
with pytest.raises(RuntimeError) as runtime_exc_info:
203203
response.raise_for_excepted_status([200])
204-
assert "raise_for_excepted_status" in str(exc_info.value)
204+
assert "raise_for_excepted_status" in str(runtime_exc_info.value)
205205

206206

207207
def test_response_repr():

0 commit comments

Comments
 (0)