mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-27 05:46:24 +02:00
Changed refereences to iteritems() to items() for Py3 compat
This commit is contained in:
parent
57dd29a0f9
commit
a4c8bb5807
1 changed files with 3 additions and 1 deletions
|
|
@ -121,7 +121,9 @@ class Test(unittest.TestCase):
|
|||
self.assertListEqual(removed.tolist(), [0, 2])
|
||||
|
||||
def test_misc(self):
|
||||
for k,v in self.param_index.copy()._properties.iteritems():
|
||||
#py3 fix
|
||||
#for k,v in self.param_index.copy()._properties.iteritems():
|
||||
for k,v in self.param_index.copy()._properties.items():
|
||||
self.assertListEqual(self.param_index[k].tolist(), v.tolist())
|
||||
self.assertEqual(self.param_index.size, 8)
|
||||
self.assertEqual(self.view.size, 5)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue