def test_cov():
    '\n    compare different implementations, make sure results are the same\n    '
    (S, y) = get_example_data()
    C = S[:, 0:10]
    S = S[:, 10:]
    (F1, pval1) = f_regression_cov(S, C, y)
    (F2, pval2) = f_regression_cov_alt(S, C, y)
    np.testing.assert_array_almost_equal(F1, F2)
    np.testing.assert_array_almost_equal(pval1, pval2)
compare different implementations, make sure results are the same
def test_cov():
    '\n    \n    '
    (S, y) = get_example_data()
    C = S[:, 0:10]
    S = S[:, 10:]
    (F1, pval1) = f_regression_cov(S, C, y)
    (F2, pval2) = f_regression_cov_alt(S, C, y)
    np.testing.assert_array_almost_equal(F1, F2)
    np.testing.assert_array_almost_equal(pval1, pval2)