code: def test_local_function_closure_ignored_for_bound_symbols(self):
      def test_fn(x: float):  # pylint:disable=unused-argument
          def foo():
              x = x + 1  # pylint:disable=used-before-assignment
  
          foo()
  
      node, _ = TestTranspiler(BasicTestResolver).transform(
          test_fn, None
      )
      fn_body = node.body
  
      self.assertFalse(
          anno.hasanno(fn_body[0].body[0].value.left, anno.Static.TYPES)
      )
      self.assertClosureTypes(fn_body[0], {"x": {"float"}})
  
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 21 for calling the TypeInferenceAnalyzerTest obj's underlying member method code with example usage: obj.test_local_function_closure_ignored_for_bound_symbols() without return types