code: def test_schema_roundtrip(self):
      with self.assert_pyarrow_memory_released():
          # make sure that Python -> Go -> Python ends up with
          # the same exact schema
          schema = self.make_schema()
          schema._export_to_c(self.ptr_schema)
          del schema
  
          c_schema = ffi.new("struct ArrowSchema*")
          ptr_schema = int(ffi.cast("uintptr_t", c_schema))
  
          cgotest.importThenExportSchema(self.ptr_schema, ptr_schema)
          schema_new = pa.Schema._import_from_c(ptr_schema)
          assert schema_new == self.make_schema()
          del c_schema
  
imports: import contextlib
  import gc
  import os
  import unittest
  import pyarrow
  from pyarrow.cffi import ffi
label_desc: Use image node_id 1 for calling the TestRoundTrip obj's underlying member method code with example usage: obj.test_schema_roundtrip() without return types