code: def test_record_batch(self):
      with self.assert_pyarrow_memory_released():
          self.make_schema()._export_to_c(self.ptr_schema)
          self.make_batch()._export_to_c(self.ptr_array)
          # Will panic if expectations are not met
          cgotest.importRecordBatch(self.ptr_schema, self.ptr_array)
  
imports: import contextlib
  import gc
  import os
  import unittest
  import pyarrow
  from pyarrow.cffi import ffi
label_desc: Use image node_id 2 for calling the TestPythonToGo obj's underlying member method code with example usage: obj.test_record_batch() without return types