code: def test_partial_wrapped_partial_func(self):
      def decorator_foo(func):
          def wrapper(*args, **kwargs):
              return func(*args, **kwargs)
  
          return functools.update_wrapper(wrapper, func)
  
      x = 1
      y = 2
  
      def f(a, b):
          return a + b + x + y
  
      f = functools.partial(f, a=0)
      f = decorator_foo(f)
      f = functools.partial(f, b=0)
  
      txt = free_vars_detect.generate_free_var_logging(f)
      txt = self._remove_explanation(txt)
      self.assertEqual(txt, "Inside function f(): x, y")
  
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 11 for calling the GenerateLoggingTest obj's underlying member method code with example usage: obj.test_partial_wrapped_partial_func() and returns: functools, unknown, func