docstr: Tests that the shape exceptions are properly raised.
docstr_tok: ["Tests","that","the","shape","exceptions","are","properly","raised","."]
code: def test_from_linear_rgb_exception_raised(self, error_msg, *shape):
      """Tests that the shape exceptions are properly raised."""
      self.assert_exception_is_raised(
          srgb.from_linear_rgb, error_msg, shape
      )
  
file_path: graphics/tensorflow_graphics/image/color_space/tests/srgb_test.py
imports: from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  from tensorflow_graphics.image.color_space import linear_rgb
  from tensorflow_graphics.image.color_space import srgb
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 6 for calling the SrgbTest obj's underlying member method code with example usage: obj.test_from_linear_rgb_exception_raised(error_msg) without return types