File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- """Tests for pluggable HTTP client support (custom http_client parameter)."""
2-
31from __future__ import annotations
42
53import warnings
@@ -186,13 +184,13 @@ async def test_fake_response_async_methods() -> None:
186184def 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
192190def 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 --
You can’t perform that action at this time.
0 commit comments