docstr: Tests that the shape exception is raised.
docstr_tok: ["Tests","that","the","shape","exception","is","raised","."]
code: def test_inverse_transform_stratified_1d_shape_exception_raised(
      self, error_msg, *shape
  ):
      """Tests that the shape exception is raised."""
      self.assert_exception_is_raised(
          sampling.inverse_transform_stratified_1d,
          error_msg,
          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 14 for calling the SamplingTest obj's underlying member method code with example usage: obj.test_inverse_transform_stratified_1d_shape_exception_raised(error_msg) without return types