code: def test_ptr(data: pl.Series) -> None:
      buffer = PolarsBuffer(data)
      result = buffer.ptr
      # Memory address is unpredictable - so we just check if an integer is returned
      assert isinstance(result, int)
  
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 4 for calling a global function with example usage: test_ptr(data) without return types