docstr: tests that exceptions are raised when shapes are not supported.
docstr_tok: ["tests","that","exceptions","are","raised","when","shapes","are","not","supported","."]
code: def test_intersection_ray_sphere_shape_raised(
      self, error_msg, *shapes
  ):
      """tests that exceptions are raised when shapes are not supported."""
      self.assert_exception_is_raised(
          ray.intersection_ray_sphere, error_msg, shapes
      )
  
imports: import sys
  from absl import flags
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.geometry.representation import ray
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 15 for calling the RayTest obj's underlying member method code with example usage: obj.test_intersection_ray_sphere_shape_raised(error_msg) without return types