From c374500830138b52be9b5e13395d1323e3be1fae Mon Sep 17 00:00:00 2001 From: Michael T Smith Date: Thu, 17 Nov 2016 16:50:04 +0000 Subject: [PATCH] Removed python2 print and rewrote assert message --- GPy/testing/loo_tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GPy/testing/loo_tests.py b/GPy/testing/loo_tests.py index 0c0a2321..ad0f80ec 100644 --- a/GPy/testing/loo_tests.py +++ b/GPy/testing/loo_tests.py @@ -45,5 +45,4 @@ class LOOTest(unittest.TestCase): actual = m.LOO() for e,a in zip(expected,actual): - print "OK" - assert np.isclose(e,a,atol=0.0001,rtol=0.0001), "%s, %s" % (e,a) + assert np.isclose(e,a,atol=0.0001,rtol=0.0001), "LOO likelihoods don't match expected values"