def test_dist_mahalanobis(self, N=10):
    ''' Verify that distance computation is largest at mean and decays further away 
    '''
    Xlist = list()
    for r in [0, 0.01, 0.1, 1, 2, 3, 4, 5]:
      Xlist.append(self.distr.m + r)
    X = np.asarray(Xlist)
    Dist = self.distr.dist_mahalanobis(X)
    print Dist
    assert np.all( Dist[1:] < Dist[:-1])
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/tests/distr/TestGaussWishDistr.py/TestGaussWishDistr.test_dist_mahalanobis/swapped operands of `<`