docstr: Tests that the shape exceptions are properly raised.
docstr_tok: ["Tests","that","the","shape","exceptions","are","properly","raised","."]
code: def test_distance_to_ray_exception_raised(self, error_msg, *shapes):
      """Tests that the shape exceptions are properly raised."""
      self.assert_exception_is_raised(
          point.distance_to_ray, error_msg, shapes
      )
  
file_path: graphics/tensorflow_graphics/geometry/representation/tests/point_test.py
imports: import sys
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.geometry.representation import point
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 2 for calling the PointTest obj's underlying member method code with example usage: obj.test_distance_to_ray_exception_raised(error_msg) without return types