code: def test_writing_with_array_channel_name_mismatch_fails(self):
      array_three_channels = np.zeros([64, 64, 3], dtype=np.float32)
      names_two_channels = ["A", "B"]
      with tempfile.NamedTemporaryFile() as temp:
          with self.assertRaisesRegexp(
              ValueError,
              "Number of channels in values does not match channel names",
          ):
              exr.write_exr(
                  temp.name, array_three_channels, names_two_channels
              )
  
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 3 for calling the ExrTest obj's underlying member method code with example usage: obj.test_writing_with_array_channel_name_mismatch_fails() without return types