docstr: Tests that the shape exceptions are properly raised for qslerp.
docstr_tok: ["Tests","that","the","shape","exceptions","are","properly","raised","for","qslerp","."]
code: def test_quaternion_weights_exception_raised(
      self, error_msg, *shapes
  ):
      """Tests that the shape exceptions are properly raised for qslerp."""
      self.assert_exception_is_raised(
          slerp.quaternion_weights, error_msg, shapes
      )
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.math.interpolation import slerp
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 10 for calling the SlerpTest obj's underlying member method code with example usage: obj.test_quaternion_weights_exception_raised(error_msg) without return types