code: def test_confusion_matrix_multiclass_macro_vocab_reqruired(self):
      confusion_matrix = _classification.ConfusionMatrixAggFn(
          average=AverageType.MACRO
      )
      acc = _classification._ConfusionMatrix(tp=1, tn=1, fp=1, fn=1)
      with self.assertRaisesRegex(ValueError, "Global vocab is needed"):
          confusion_matrix.merge_accumulators([acc])
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_model_analysis.experimental.metrics.aggregates import _classification
label_desc: Use image node_id 17 for calling the ClassificationTest obj's underlying member method code with example usage: obj.test_confusion_matrix_multiclass_macro_vocab_reqruired() without return types