code: def test_cross_validation_evaluator_without_cv_scores(
      direction: str,
  ) -> None:
      study = create_study(direction=direction)
      study.add_trial(
          # Note that the CV score is not reported with the system attr.
          create_trial(params={}, distributions={}, value=0.0)
      )
  
      evaluator = CrossValidationErrorEvaluator()
      with pytest.raises(ValueError):
          evaluator.evaluate(study.trials, study.direction)
  
file_path: optuna/tests/terminator_tests/test_erroreval.py
imports: from __future__ import annotations
  import math
  import pytest
  from optuna.study.study import create_study
  from optuna.terminator import CrossValidationErrorEvaluator
  from optuna.terminator import report_cross_validation_scores
  from optuna.terminator import StaticErrorEvaluator
  from optuna.terminator.erroreval import _CROSS_VALIDATION_SCORES_KEY
  from optuna.trial import create_trial
  from optuna.trial import FrozenTrial
label_desc: Use image node_id 3 for calling a global function with example usage: test_cross_validation_evaluator_without_cv_scores(direction) without return types