From: Hasan Ramezani Date: Wed, 27 May 2020 19:29:52 +0000 (+0200) Subject: Fixed mypy errors in test_async_client.py and test_client.py (#985) X-Git-Tag: 0.13.3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21d7e16559d9360ae3a5c5cfd23bab8bb85ee4a8;p=thirdparty%2Fhttpx.git Fixed mypy errors in test_async_client.py and test_client.py (#985) --- diff --git a/tests/client/test_async_client.py b/tests/client/test_async_client.py index abcc82bb..8f0e9d6f 100644 --- a/tests/client/test_async_client.py +++ b/tests/client/test_async_client.py @@ -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") diff --git a/tests/client/test_client.py b/tests/client/test_client.py index 0bb1cc19..5271e733 100644 --- a/tests/client/test_client.py +++ b/tests/client/test_client.py @@ -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):