code: def test_resolver_output_checked(self):
      class Resolver(type_inference.Resolver):
          def res_arg(
              self, ns, types_ns, f_name, name, type_anno, f_is_local
          ):
              return 1
  
      def test_fn(a):
          del a
          pass
  
      with self.assertRaisesRegex(ValueError, "expected to return set"):
          TestTranspiler(Resolver).transform(test_fn, None)
  
imports: from typing import Any, Callable, List
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.autograph.pyct import cfg
  from tensorflow.python.autograph.pyct import qual_names
  from tensorflow.python.autograph.pyct import transpiler
  from tensorflow.python.autograph.pyct.static_analysis import activity
  from tensorflow.python.autograph.pyct.static_analysis import reaching_definitions
  from tensorflow.python.autograph.pyct.static_analysis import reaching_fndefs
  from tensorflow.python.autograph.pyct.static_analysis import type_inference
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the TypeInferenceAnalyzerTest obj's underlying member method code with example usage: obj.test_resolver_output_checked() and returns: int