code: def test_export_import_schema_float_pointer():
      # Previous versions of the R Arrow library used to pass pointer
      # values as a double.
      c_schema = ffi.new("struct ArrowSchema*")
      ptr_schema = int(ffi.cast("uintptr_t", c_schema))
  
      match = "Passing a pointer value as a float is unsafe"
      with pytest.warns(UserWarning, match=match):
          make_schema()._export_to_c(float(ptr_schema))
      with pytest.warns(UserWarning, match=match):
          schema_new = pa.Schema._import_from_c(float(ptr_schema))
      assert schema_new == make_schema()
  
imports: import contextlib
  import ctypes
  import gc
  import pyarrow
  import pytest
label_desc: Use image node_id 16 for calling a global function with example usage: test_export_import_schema_float_pointer() without return types