code: def test_buffer_heap(gdb_arrow):
      check_heap_repr(
          gdb_arrow,
          "heap_buffer",
          'arrow::Buffer of size 3, read-only, "abc"',
      )
      check_heap_repr(
          gdb_arrow,
          "heap_buffer_mutable.get()",
          'arrow::Buffer of size 3, mutable, "abc"',
      )
  
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 14 for calling a global function with example usage: test_buffer_heap(gdb_arrow) without return types