Removed python2 print and rewrote assert message

This commit is contained in:
Michael T Smith 2016-11-17 16:50:04 +00:00
parent 1d6c89c77e
commit c374500830

View file

@ -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"