def check_paired_arrays(X, Y):
    X, Y = check_pairwise_arrays(X, Y)
    if X.shape != Y.shape:
        raise ValueError("X and Y should be of same shape. They were "
                         "respectively %r and %r long." % (X.shape, Y.shape))
    return X, Y


# Pairwise distances
Default parser to attempt to use to parser body text for the event (i.e. after
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/metrics/pairwise.py/check_paired_arrays--crossover with--dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/trace_cmd.py/default_body_parser