mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-28 22:36:24 +02:00
Update pickle_tests.py
This commit is contained in:
parent
55fb393751
commit
2a01e9008a
1 changed files with 2 additions and 2 deletions
|
|
@ -22,6 +22,7 @@ from GPy.models.gp_regression import GPRegression
|
|||
from functools import reduce
|
||||
from GPy.util.caching import Cacher
|
||||
from pickle import PicklingError
|
||||
import GPy
|
||||
|
||||
def toy_model():
|
||||
X = np.linspace(0,1,50)[:, None]
|
||||
|
|
@ -64,8 +65,7 @@ class Test(ListDictTestCase):
|
|||
|
||||
with f:
|
||||
pickle.dump(piov, f)
|
||||
f.seek(0)
|
||||
|
||||
|
||||
pio2 = GPy.load(f)
|
||||
#py3 fix
|
||||
#self.assertListDictEquals(dict(piov.items()), dict(pio2.iteritems()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue