code: def test_binary_feather_format():
      """test_binary_feather_format"""
      import numpy as np
      import pandas as pd
  
      from pyarrow import feather as pa_feather
      import pyarrow as pa
  
      local_path = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          "test_image",
          "sample.png",
      )
      with open(local_path, "rb") as f:
          data = [f.read()]
          table = pa.Table.from_arrays([data], ["data"])
  
      chunk_size = 1000
      with tempfile.NamedTemporaryFile(delete=False) as f:
          pa_feather.write_feather(table, f, chunksize=chunk_size)
  
      feather = tfio.IOTensor.from_feather(f.name)
      assert feather("data").shape == [1]
      assert feather("data").dtype == tf.string
      assert np.all(feather("data").to_tensor().numpy() == data[0])
  
      os.unlink(f.name)
  
imports: import os
  import tempfile
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 2 for calling a global function with example usage: test_binary_feather_format() without return types