def METHOD_NAME(self, estimator_instance):
    """Test that get_distance returns an scalar."""
    if not estimator_instance.get_tag("capability:distance"):
        return None
    X = [_make_series(n_columns=2), _make_series(n_columns=2)]
    dist = estimator_instance.fit(X).get_distance()
    assert isinstance(dist, float)