code: def test_class_attribute_error(final_proxy, function_proxy):
      _, _, x = final_proxy
      _, _, y = function_proxy
      # Test that an attribute error is raised when attempting to
      # access undefined class attributes:
      with pytest.raises(AttributeError):
          x.foo
  
      with pytest.raises(AttributeError):
          y.foo
  
      with pytest.raises(AttributeError):
          y.__abs__
  
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 13 for calling a global function with example usage: test_class_attribute_error(final_proxy, function_proxy) without return types