code: def _check_arrow_roundtrip(table, path=None, compression=None):
      if path is None:
          path = random_path()
  
      TEST_FILES.append(path)
      write_feather(table, path, compression=compression)
      if not os.path.exists(path):
          raise Exception("file not written")
  
      result = read_table(path)
      assert result.equals(table)
  
imports: import io
  import os
  import sys
  import tempfile
  import pytest
  import hypothesis
  import hypothesis.strategies
  import numpy
  import pyarrow
  import pyarrow.tests.strategies
  from pyarrow.feather import read_feather, write_feather, read_table, FeatherDataset
label_desc: Use image node_id 9 for calling a global function with example usage: _check_arrow_roundtrip(table, path, compression) without return types