mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-03 00:32:39 +02:00
Exception fixes for Python 3 compat
This commit is contained in:
parent
74f8caba2b
commit
c6b43d91da
8 changed files with 10 additions and 10 deletions
|
|
@ -282,7 +282,7 @@ class KernelGradientTestsContinuous(unittest.TestCase):
|
|||
try:
|
||||
k.K(self.X)
|
||||
except AssertionError:
|
||||
raise AssertionError, "k.K(X) should run on self.D-1 dimension"
|
||||
raise AssertionError("k.K(X) should run on self.D-1 dimension")
|
||||
|
||||
def test_Matern52(self):
|
||||
k = GPy.kern.Matern52(self.D)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue