code: def test_interval_raises():
      """Test that interval with low > high raises ValueError."""
      with pytest.raises(
          ValueError,
          match="One must have low <= high; got low=1, high=0.",
      ):
          Interval(1, 0, False, False)
  
file_path: scikit-learn/sklearn/_loss/tests/test_link.py
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal
  from sklearn._loss.link import _LINKS, HalfLogitLink, Interval, MultinomialLogit, _inclusive_low_high
label_desc: Use image node_id 1 for calling a global function with example usage: test_interval_raises() without return types