def METHOD_NAME():
    """Test BaseIntervalForest with an invalid transformer for subsampling."""
    X, y = make_3d_test_data()
    est = IntervalForestClassifier(
        n_estimators=2,
        n_intervals=2,
        att_subsample_size=2,
        interval_features=SevenNumberSummaryTransformer(),
    )
    with pytest.raises(ValueError):
        est.fit(X, y)