code: def test_fast_slow_arg_function_closure(function_proxy, final_proxy):
      fast_x, slow_x, x = function_proxy
      fast_y, slow_y, y = final_proxy
  
      def func():
          return x, y.method()
  
      assert _slow_arg(func)() == (slow_x, slow_y.method())
      assert _fast_arg(func)() == (fast_x, fast_y.method())
  
imports: import inspect
  from functools import partial
  from io import StringIO
  import numpy
  import pytest
  from cudf.pandas.fast_slow_proxy import _fast_arg, _FunctionProxy, _slow_arg, _transform_arg, _Unusable, make_final_proxy_type, make_intermediate_proxy_type
label_desc: Use image node_id 5 for calling a global function with example usage: test_fast_slow_arg_function_closure(function_proxy, final_proxy) and returns: x,  y