code: def test_cv_constructor_value_errors():
      with pytest.raises(ValueError):
          RollingForecastCV(h=-1),  # too low horizon
  
      with pytest.raises(ValueError):
          RollingForecastCV(step=-1),
  
file_path: pmdarima/pmdarima/model_selection/tests/test_split.py
imports: from pmdarima.compat.pytest import pytest_error_str
  from pmdarima.model_selection import RollingForecastCV, SlidingWindowForecastCV, check_cv, train_test_split
  from pmdarima.datasets import load_wineind
  import pytest
  import numpy
  from numpy.testing import assert_array_equal
label_desc: Use image node_id 4 for calling a global function with example usage: test_cv_constructor_value_errors() without return types