code: def test_global_var_from_renamed_outer_func(self):
      x = 1
  
      def g():
          return x + 1
  
      def f():
          h = g
          return h()
  
      func_map = free_vars_detect._detect_function_free_vars(f)
      self.assertIn("f", func_map.keys())
      self.assertIn("g", func_map.keys())
      self.assertLen(func_map.keys(), 2)
      free_vars = get_var_name(func_map["f"])
      self.assertSequenceEqual(free_vars, ["g"])
      free_vars = get_var_name(func_map["g"])
      self.assertSequenceEqual(free_vars, ["x"])
  
imports: import functools
  import unittest
  from absl.testing import parameterized
  import numpy
  from tensorflow.core.function.capture import free_vars_detect
  from tensorflow.python.util import tf_decorator
label_desc: Use image node_id 25 for calling the FreeVarDetectionTest obj's underlying member method code with example usage: obj.test_global_var_from_renamed_outer_func() and returns: unknown, h