code: def test_filelike_objects(version):
      buf = io.BytesIO()
  
      # the copy makes it non-strided
      df = pd.DataFrame(
          np.arange(12).reshape(4, 3), columns=["a", "b", "c"]
      ).copy()
      write_feather(df, buf, version=version)
  
      buf.seek(0)
  
      result = read_feather(buf)
      assert_frame_equal(result, df)
  
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 40 for calling a global function with example usage: test_filelike_objects(version) without return types