code: def testOverrideWeightColumnForSlicingMetricsView(self):
      overriding_weight_column = "override"
      eval_config = self._makeEvalConfig()
      slicing_config = util.get_slicing_config(
          eval_config,
          weighted_example_column_to_use=overriding_weight_column,
      )
      self.assertEqual(
          slicing_config["weightedExamplesColumn"],
          overriding_weight_column,
      )
  
imports: import os
  import tensorflow
  from tensorflow_model_analysis import constants
  from tensorflow_model_analysis.eval_saved_model import testutil
  from tensorflow_model_analysis.proto import config_pb2
  from tensorflow_model_analysis.proto import metrics_for_slice_pb2
  from tensorflow_model_analysis.slicer.slicer_lib import OVERALL_SLICE_NAME
  from tensorflow_model_analysis.slicer.slicer_lib import SingleSliceSpec
  from tensorflow_model_analysis.view import util
  from tensorflow_model_analysis.view import view_types
  from google.protobuf import text_format
label_desc: Use image node_id 30 for calling the UtilTest obj's underlying member method code with example usage: obj.testOverrideWeightColumnForSlicingMetricsView() without return types