code: def test_bits_out_of_range_raises(self, bits):
      with self.assertRaisesRegexp(
          ValueError, "integer between 1 and 16"
      ):
          stages_impl.UniformQuantizationEncodingStage(bits=bits)
  
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 12 for calling the UniformQuantizationEncodingStageStageTest obj's underlying member method code with example usage: obj.test_bits_out_of_range_raises(bits) without return types