code: def test_repeat_n_empty() -> None:
      df = pl.DataFrame(schema={"a": pl.Int32})
      with pytest.raises(
          pl.OutOfBoundsError, match="index 0 is out of bounds"
      ):
          df.select(pl.repeat(1, n=pl.col("a")))
  
file_path: polars/py-polars/tests/unit/functions/test_repeat.py
imports: from __future__ import annotations
  from datetime import date, datetime, time, timedelta
  from typing import Any
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 6 for calling a global function with example usage: test_repeat_n_empty() without return types