Skip to content

Commit f5ab55e

Browse files
committed
Polish docs
1 parent b311e9d commit f5ab55e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/unit/test_pluggable_http_client.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"""Tests for pluggable HTTP client support (custom http_client parameter)."""
2-
31
from __future__ import annotations
42

53
import warnings
@@ -186,13 +184,13 @@ async def test_fake_response_async_methods() -> None:
186184
def test_http_client_abc_not_instantiable() -> None:
187185
"""Test that HttpClient cannot be instantiated directly (it's abstract)."""
188186
with pytest.raises(TypeError, match='abstract method'):
189-
HttpClient() # type: ignore[abstract]
187+
HttpClient()
190188

191189

192190
def test_http_client_async_abc_not_instantiable() -> None:
193191
"""Test that HttpClientAsync cannot be instantiated directly (it's abstract)."""
194192
with pytest.raises(TypeError, match='abstract method'):
195-
HttpClientAsync() # type: ignore[abstract]
193+
HttpClientAsync()
196194

197195

198196
# -- ApifyClient with custom http_client --

0 commit comments

Comments
 (0)