mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-28 14:26:23 +02:00
Update pickle_tests.py
This commit is contained in:
parent
2a01e9008a
commit
4cf70ea132
1 changed files with 2 additions and 2 deletions
|
|
@ -65,8 +65,8 @@ class Test(ListDictTestCase):
|
|||
|
||||
with f:
|
||||
pickle.dump(piov, f)
|
||||
|
||||
pio2 = GPy.load(f)
|
||||
f.seek(0)
|
||||
pio2 = pickle.load(f)
|
||||
#py3 fix
|
||||
#self.assertListDictEquals(dict(piov.items()), dict(pio2.iteritems()))
|
||||
self.assertListDictEquals(dict(piov.items()), dict(pio2.items()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue