docstr: Tests whether exceptions are raised for incompatible shapes.
docstr_tok: ["Tests","whether","exceptions","are","raised","for","incompatible","shapes","."]
code: def test_interpolate_exception_raised(self, error_msg, shapes):
      """Tests whether exceptions are raised for incompatible shapes."""
      self.assert_exception_is_raised(
          trilinear.interpolate, error_msg, shapes=shapes
      )
  
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.geometry.representation import grid
  from tensorflow_graphics.geometry.transformation import rotation_matrix_3d
  from tensorflow_graphics.math.interpolation import trilinear
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 1 for calling the TrilinearTest obj's underlying member method code with example usage: obj.test_interpolate_exception_raised(error_msg, shapes) without return types