code: def test_sink_ipc(io_files_path: Path, tmp_path: Path) -> None:
      tmp_path.mkdir(exist_ok=True)
  
      file = io_files_path / "small.parquet"
  
      file_path = tmp_path / "sink.ipc"
  
      df_scanned = pl.scan_parquet(file)
      df_scanned.sink_ipc(file_path)
  
      with pl.StringCache():
          result = pl.read_ipc(file_path)
          df_read = pl.read_parquet(file)
          assert_frame_equal(result, df_read)
  
file_path: polars/py-polars/tests/unit/streaming/test_streaming_io.py
imports: from __future__ import annotations
  import unittest
  from typing import TYPE_CHECKING
  import pytest
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 6 for calling a global function with example usage: test_sink_ipc(io_files_path, tmp_path) without return types