code: def test_check_interval_TypeError_when_quantiles_is_not_a_list():
      """
      Check `TypeError` is raised when `quantiles` is not a `list`.
      """
      err_msg = re.escape(
          (
              "`quantiles` must be a `list`. For example, quantiles 0.05, "
              "0.5, and 0.95 should be as `quantiles = [0.05, 0.5, 0.95]`."
          )
      )
      with pytest.raises(TypeError, match=err_msg):
          check_interval(quantiles="not_a_list")
  
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 8 for calling a global function with example usage: test_check_interval_TypeError_when_quantiles_is_not_a_list() without return types