code: def test_schema(gdb_arrow):
      check_heap_repr(
          gdb_arrow, "schema_empty", "arrow::Schema with 0 fields"
      )
      check_heap_repr(
          gdb_arrow,
          "schema_non_empty",
          (
              'arrow::Schema with 2 fields = {["ints"] = arrow::int8(), '
              '["strs"] = arrow::utf8()}'
          ),
      )
      check_heap_repr(
          gdb_arrow,
          "schema_with_metadata",
          (
              "arrow::Schema with 2 fields and 2 metadata items = "
              '{["ints"] = arrow::int8(), ["strs"] = arrow::utf8()}'
          ),
      )
  
imports: from functools import lru_cache
  import os
  import re
  import shutil
  import subprocess
  import sys
  import pytest
  import pyarrow
label_desc: Use image node_id 26 for calling a global function with example usage: test_schema(gdb_arrow) without return types