code: def test_check_interval_ValueError_when_alpha_is_out_of_bounds(alpha):
      """
      Check `ValueError` is raised when alpha is not between 0 and 1.
      """
      err_msg = re.escape(
          f"`alpha` must have a value between 0 and 1. Got {alpha}."
      )
      with pytest.raises(ValueError, match=err_msg):
          check_interval(alpha=alpha)
  
file_path: skforecast/skforecast/utils/tests/test_check_interval.py
imports: import re
  import pytest
  import numpy
  import pandas
  from skforecast.utils.utils import check_interval
label_desc: Use image node_id 11 for calling a global function with example usage: test_check_interval_ValueError_when_alpha_is_out_of_bounds(alpha) without return types