File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,9 @@ def test_custom_base_url_with_path_prefix(
207207 base_vwq_url = "http://example.com/prefix" ,
208208 )
209209
210- with pytest .raises (requests .exceptions .ConnectionError ):
210+ with pytest .raises (
211+ expected_exception = requests .exceptions .ConnectionError ,
212+ ):
211213 cloud_reco_client .query (image = image )
212214
213215
Original file line number Diff line number Diff line change @@ -261,7 +261,9 @@ def test_custom_base_url_with_path_prefix() -> None:
261261 base_vws_url = "http://example.com/prefix" ,
262262 )
263263
264- with pytest .raises (requests .exceptions .ConnectionError ):
264+ with pytest .raises (
265+ expected_exception = requests .exceptions .ConnectionError ,
266+ ):
265267 vws_client .list_targets ()
266268
267269
You can’t perform that action at this time.
0 commit comments