code: def test_buffer_stack(gdb_arrow):
      check_stack_repr(
          gdb_arrow, "buffer_null", "arrow::Buffer of size 0, read-only"
      )
      check_stack_repr(
          gdb_arrow,
          "buffer_abc",
          'arrow::Buffer of size 3, read-only, "abc"',
      )
      check_stack_repr(
          gdb_arrow,
          "buffer_special_chars",
          r'arrow::Buffer of size 12, read-only, "foo\"bar\000\r\n\t\037"',
      )
      check_stack_repr(
          gdb_arrow,
          "buffer_mutable",
          'arrow::MutableBuffer 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 13 for calling a global function with example usage: test_buffer_stack(gdb_arrow) without return types