code: def test_writing_unsupported_numpy_type_fails(self):
      uint8_array = np.zeros([64, 64, 3], dtype=np.uint8)
      names = ["R", "G", "B"]
      with tempfile.NamedTemporaryFile() as temp:
          with self.assertRaisesRegexp(
              TypeError, "Unsupported numpy type"
          ):
              exr.write_exr(temp.name, uint8_array, names)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import tempfile
  from absl.testing import parameterized
  import Imath
  import numpy
  import OpenEXR
  from six.moves import range
  from tensorflow_graphics.io import exr
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 4 for calling the ExrTest obj's underlying member method code with example usage: obj.test_writing_unsupported_numpy_type_fails() without return types