Skip to content

Commit 9356502

Browse files
committed
Fixed mypy errors in test_async_client.py and test_client.py
1 parent f5e1aa5 commit 9356502

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/client/test_async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async def test_raise_for_status(server):
9595
response.raise_for_status()
9696
assert exc_info.value.response == response
9797
else:
98-
assert response.raise_for_status() is None
98+
assert response.raise_for_status() is None # type: ignore
9999

100100

101101
@pytest.mark.usefixtures("async_environment")

tests/client/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_raise_for_status(server):
110110
response.raise_for_status()
111111
assert exc_info.value.response == response
112112
else:
113-
assert response.raise_for_status() is None
113+
assert response.raise_for_status() is None # type: ignore
114114

115115

116116
def test_options(server):

0 commit comments

Comments
 (0)