def METHOD_NAME():
    """Tests KNN classifer with alignment distance on unequal length data."""
    from sktime.dists_kernels import AggrDist, ScipyDist
    from sktime.utils._testing.hierarchical import _make_hierarchical
    X = _make_hierarchical((3,), min_timepoints=5, max_timepoints=10, random_state=0)
    y = np.array([0, 1, 1])
    eucl_dist = ScipyDist()
    aggr_dist = AggrDist(eucl_dist)
    clf = KNeighborsTimeSeriesClassifier(distance=aggr_dist)
    clf.fit(X, y)