code: def ipython_magics_gpu_test():
      from IPython.core.interactiveshell import InteractiveShell
  
      # Use in-memory history file to avoid file handles leaking
      # https://github.com/pandas-dev/pandas/pull/35711
      from traitlets.config import Config  # isort:skip
  
      c = Config()
      c.HistoryManager.hist_file = ":memory:"
  
      ip = InteractiveShell(config=c)
      ip.run_line_magic("load_ext", "cudf.pandas")
  
      # Directly check for private proxy attribute
      ip.run_cell("import pandas as pd; s = pd.Series(range(5))")
      result = ip.run_cell("assert hasattr(s, '_fsproxy_state')")
      result.raise_error()
  
label_desc: Use image node_id 1 for calling a global function with example usage: ipython_magics_gpu_test() without return types