Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
Fixed mypy errors in test_async_client.py and test_client.py (encode#985
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hramezani authored May 27, 2020
1 parent f5e1aa5 commit 21d7e16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/client/test_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async def test_raise_for_status(server):
response.raise_for_status()
assert exc_info.value.response == response
else:
assert response.raise_for_status() is None
assert response.raise_for_status() is None # type: ignore


@pytest.mark.usefixtures("async_environment")
Expand Down
2 changes: 1 addition & 1 deletion tests/client/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_raise_for_status(server):
response.raise_for_status()
assert exc_info.value.response == response
else:
assert response.raise_for_status() is None
assert response.raise_for_status() is None # type: ignore


def test_options(server):
Expand Down

0 comments on commit 21d7e16

Please sign in to comment.