def METHOD_NAME():
    """Test exception raising."""
    series_transformer = [FunctionTransformer(np.log1p)]
    X, y = make_3d_test_data(n_cases=3, n_timepoints=10)
    est = IntervalForestClassifier(min_interval_length=0.5)
    est.fit(X, y)
    assert est._min_interval_length[0] == 5
    est = IntervalForestClassifier(min_interval_length=2.0)
    with pytest.raises(ValueError, match=r"Invalid min_interval_length input"):
        est.fit(X, y)
    est = IntervalForestClassifier(
        series_transformers=series_transformer, min_interval_length=[3]
    )
    est.fit(X, y)
    assert est._min_interval_length == [3]
    est = IntervalForestClassifier(
        series_transformers=series_transformer, min_interval_length=[0.5]
    )
    est.fit(X, y)
    assert est._min_interval_length == [5]