code: def test_it_requires_a_dict_for_multi_objectives(self) -> None:
      with self.assertRaisesRegex(
          UserInputError,
          "experiments with multiple metrics attached.",
      ):
          raw_data_to_evaluation(
              raw_data=(6.0, None),
              metric_names=["objective_a", "objective_b"],
          )
  
file_path: Ax/ax/core/tests/test_formatting_utils.py
imports: from ax.core.formatting_utils import raw_data_to_evaluation
  from ax.exceptions.core import UserInputError
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 4 for calling the TestRawDataToEvaluation obj's underlying member method code with example usage: obj.test_it_requires_a_dict_for_multi_objectives() without return types