def test_attributes_interval_feature_extractor(
    params, interval_indices_shape, min_subsequence_size
):
    """Test the attributes of a fitted instance of IntervalFeatureExtractor."""
    feature_extractor = IntervalFeatureExtractor(**params)
    feature_extractor.fit(X_arange, y)
    assert feature_extractor.interval_indices_.shape == interval_indices_shape
    assert feature_extractor.min_subsequence_size_ == min_subsequence_size
Test the attributes of a fitted instance of IntervalFeatureExtractor.
pyts/classification/tests/test_tsbf.py