Skip to content

Commit de4fe54

Browse files
committed
Fix mypy
1 parent e8f2fe0 commit de4fe54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/mock_vws/test_add_target.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@ def test_name_invalid(
350350
"active_flag": True,
351351
}
352352

353+
exc: pytest.ExceptionInfo[FailError | ServerError]
354+
353355
if status_code == HTTPStatus.INTERNAL_SERVER_ERROR:
354356
with pytest.raises(expected_exception=ServerError) as exc:
355357
_add_target_to_vws(vws_client=vws_client, data=data)

0 commit comments

Comments
 (0)