mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
fix pytest raises
This commit is contained in:
parent
caba8fd63f
commit
7d9fffc04b
1 changed files with 1 additions and 1 deletions
|
|
@ -1507,7 +1507,7 @@ class TestGradient:
|
|||
k = GPy.kern.Linear(Q, ARD=True)
|
||||
m = _create_missing_data_model(k, Q)
|
||||
|
||||
with self.assertRaises(RuntimeError):
|
||||
with pytest.raises(RuntimeError):
|
||||
m._raw_posterior_covariance_between_points(
|
||||
np.array([[1], [2]]), np.array([[3], [4]])
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue