code: def test_invalid_error_policy_causes_errors(self):
      strings = [[b"a", b"abc"], [b"ABC", b"DEF"]]
  
      with self.assertRaisesRegex(
          ValueError,
          '\'invalid\' not in: "strict", "replace", "ignore".',
      ):
          with self.cached_session() as sess:
              outputs = string_ops.unicode_transcode(
                  strings,
                  input_encoding="UTF-8",
                  output_encoding="UTF-8",
                  errors="invalid",
                  replacement_char=ord(" "),
                  replace_control_characters=False,
              )
              self.evaluate(outputs)
  
imports: from absl.testing import parameterized
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 21 for calling the UnicodeTranscodeOpTest obj's underlying member method code with example usage: obj.test_invalid_error_policy_causes_errors() without return types