diff --git a/tests/unit/vertexai/genai/test_evals.py b/tests/unit/vertexai/genai/test_evals.py index 62bbbbd7c7..5882d5a990 100644 --- a/tests/unit/vertexai/genai/test_evals.py +++ b/tests/unit/vertexai/genai/test_evals.py @@ -152,12 +152,6 @@ def setup_method(self): ) self.client = vertexai.Client(project=_TEST_PROJECT, location=_TEST_LOCATION) - @pytest.mark.usefixtures("google_auth_mock") - def test_eval_run(self): - test_client = vertexai.Client(project=_TEST_PROJECT, location=_TEST_LOCATION) - with pytest.raises(NotImplementedError): - test_client.evals.run() - @pytest.mark.usefixtures("google_auth_mock") @mock.patch.object(client.Client, "_get_api_client") @mock.patch.object(evals.Evals, "batch_evaluate") diff --git a/vertexai/_genai/evals.py b/vertexai/_genai/evals.py index b6a75e8bcd..4d328df784 100644 --- a/vertexai/_genai/evals.py +++ b/vertexai/_genai/evals.py @@ -882,13 +882,6 @@ def _get_evaluation_item( self._api_client._verify_response(return_value) return return_value - def run(self) -> types.EvaluateInstancesResponse: - """Evaluates an instance of a model. - - This should eventually call _evaluate_instances() - """ - raise NotImplementedError() - def evaluate_instances( self, *,