docstr: Tests that the shape exception is raised.
docstr_tok: ["Tests","that","the","shape","exception","is","raised","."]
code: def test_uniform_1d_shape_exception_raised(self, error_msg, *shape):
      """Tests that the shape exception is raised."""
      self.assert_exception_is_raised(
          sampling.uniform_1d, error_msg, shapes=shape, num_samples=128
      )
  
file_path: graphics/tensorflow_graphics/math/tests/sampling_test.py
imports: from absl.testing import parameterized
  from tensorflow_graphics.math import sampling
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 6 for calling the SamplingTest obj's underlying member method code with example usage: obj.test_uniform_1d_shape_exception_raised(error_msg) without return types