code: def test_repeat_n_negative() -> None:
      with pytest.raises(
          pl.ComputeError, match="could not parse value '-1' as a size"
      ):
          pl.repeat(1, n=-1, eager=True)
  
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 7 for calling a global function with example usage: test_repeat_n_negative() without return types