docstr: Tests that the shape exceptions are properly raised.
docstr_tok: ["Tests","that","the","shape","exceptions","are","properly","raised","."]
code: def test_rotate_exception_raised(self, error_msg, *shape):
      """Tests that the shape exceptions are properly raised."""
      self.assert_exception_is_raised(
          rotation_matrix_2d.rotate, error_msg, shape
      )
  
imports: from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  from tensorflow_graphics.geometry.transformation import rotation_matrix_2d
  from tensorflow_graphics.geometry.transformation.tests import test_data
  from tensorflow_graphics.geometry.transformation.tests import test_helpers
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 18 for calling the RotationMatrix2dTest obj's underlying member method code with example usage: obj.test_rotate_exception_raised(error_msg) without return types