code: def test_init(data: pl.Series, allow_copy: bool) -> None:
      buffer = PolarsBuffer(data, allow_copy=allow_copy)
      assert buffer._data.n_chunks() == 1
  
file_path: polars/py-polars/tests/unit/interchange/test_buffer.py
imports: from __future__ import annotations
  from datetime import date, datetime
  import pytest
  import polars
  from polars.interchange.buffer import PolarsBuffer
  from polars.interchange.protocol import CopyNotAllowedError, DlpackDeviceType
label_desc: Use image node_id 1 for calling a global function with example usage: test_init(data, allow_copy) without return types