code: def test_evaluate_alpha_negative(metric, sample_data):
      """Tests whether correct error raised when required quantile not present."""
      y_true, y_pred = sample_data
      with pytest.raises(ValueError):
          # 0.3 not in test quantile data so raise error.
          Loss = metric.create_test_instance().set_params(alpha=0.3)
          res = Loss(y_true=y_true, y_pred=y_pred)
  
file_path: sktime/sktime/performance_metrics/forecasting/probabilistic/tests/test_probabilistic_metrics.py
imports: import warnings
  import numpy
  import pandas
  import pytest
  from sktime.performance_metrics.forecasting.probabilistic import ConstraintViolation, EmpiricalCoverage, PinballLoss
  from sktime.split import temporal_train_test_split
  from sktime.utils._testing.series import _make_series
label_desc: Use image node_id 7 for calling a global function with example usage: test_evaluate_alpha_negative(metric, sample_data) without return types