code: def _assert_schemas_equal(self, expected, actual):
      # XXX This is fragile for dictionaries, as Schema.equals compares
      # dictionary ids.
      self.java_arrow.vector.util.Validator.compareSchemas(
          expected, actual
      )
  
imports: import contextlib
  import functools
  import os
  import subprocess
  from .None import cdata
  from .tester import Tester, CDataExporter, CDataImporter
  from .util import run_cmd, log
  from ..utils.source import ARROW_ROOT_DEFAULT
label_desc: Use image node_id 6 for calling the _CDataBase obj's underlying member method code with example usage: obj._assert_schemas_equal(expected, actual) without return types