docstr: Tests that the shape exceptions are raised.
docstr_tok: ["Tests","that","the","shape","exceptions","are","raised","."]
code: def test_get_barycentric_coordinates_exception_raised(
      self, error_msg, *shape
  ):
      """Tests that the shape exceptions are raised."""
      self.assert_exception_is_raised(
          weighted.get_barycentric_coordinates, error_msg, shape
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  from six.moves import range
  import tensorflow
  from tensorflow_graphics.math.interpolation import weighted
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 9 for calling the WeightedTest obj's underlying member method code with example usage: obj.test_get_barycentric_coordinates_exception_raised(error_msg) without return types