code: def testResultTypeUnsupportedInputType(self):
      class MyTensor(extension_type.ExtensionType):
          value: tensor.Tensor
  
      with DtypeConversionTestEnv("all"):
          a = MyTensor(constant_op.constant(1))
          with self.assertRaisesRegex(
              NotImplementedError,
              f"Auto dtype conversion semantics does not support {type(a)} type.",
          ):
              _ = flexible_dtypes.result_type(a)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import extension_type
  from tensorflow.python.framework import flexible_dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import weak_tensor
  from tensorflow.python.ops import variables
  from tensorflow.python.ops import weak_tensor_test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 20 for calling the DtypesUtilTest obj's underlying member method code with example usage: obj.testResultTypeUnsupportedInputType() without return types