code: def test_repr_no_fast_object():
      # test that __repr__ falls back to slow object
      # when we don't have a corresponding fast object:
      class Slow:
          def __repr__(self):
              return "slow object"
  
      Pxy = make_final_proxy_type(
          "Pxy",
          _Unusable,
          Slow,
          fast_to_slow=lambda fast: Slow(),
          slow_to_fast=lambda slow: _Unusable(),
      )
      assert repr(Pxy()) == repr(Slow())
  
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 3 for calling a global function with example usage: test_repr_no_fast_object() and returns: str