def METHOD_NAME(self):
    X, Y = self.X, self.Y
    Y.iloc[0, 0] = -1
    with npt.assert_raises(ValueError):
        cca(Y, X)
    Y.iloc[0] = 0
    with npt.assert_raises(ValueError):
        cca(Y, X)