code: def test_assert_is_func_type_raises_error(self):
      with self.assertRaisesRegex(
          ValueError, "Expected a typehint-annotated Python function"
      ):
          utils.assert_is_functype("not_func")
  
imports: import copy
  import inspect
  from typing import Dict, List
  import tensorflow
  from tfx.dsl.component.experimental import annotations
  from tfx.dsl.component.experimental import decorators
  from tfx.dsl.component.experimental import function_parser
  from tfx.dsl.component.experimental import utils
  from tfx.dsl.components.base import executor_spec
  from tfx.types import standard_artifacts
  from tfx.types import system_executions
label_desc: Use image node_id 2 for calling the UtilsTest obj's underlying member method code with example usage: obj.test_assert_is_func_type_raises_error() without return types