code: def test_df_item_out_of_bounds(index: int, s: pl.Series) -> None:
      with pytest.raises(IndexError, match="out of bounds"):
          s.item(index)
  
file_path: polars/py-polars/tests/unit/series/test_item.py
imports: from __future__ import annotations
  import pytest
  import polars
label_desc: Use image node_id 6 for calling a global function with example usage: test_df_item_out_of_bounds(index, s) without return types