code: def test_bad_min_max_tensor_raises(self, bad_min_max):
      with self.assertRaisesRegexp(ValueError, r"shape \(2\)"):
          stages_impl.UniformQuantizationEncodingStage(
              min_max=tf.constant(bad_min_max)
          )
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.internal.tensor_encoding.stages import stages_impl
  from tensorflow_model_optimization.python.core.internal.tensor_encoding.testing import test_utils
label_desc: Use image node_id 13 for calling the UniformQuantizationEncodingStageStageTest obj's underlying member method code with example usage: obj.test_bad_min_max_tensor_raises(bad_min_max) without return types