Skip to content

Commit

Permalink
Fixed iris interface tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jun 6, 2016
1 parent 7364dee commit 3e3cb45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testirisinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_select_index(self):

def test_select_slice(self):
cube = Dataset(self.cube)
self.assertEqual(cube.select(longitude=(0, 1)).data.data,
self.assertEqual(cube.select(longitude=(0, 1.01)).data.data,
np.array([[1, 2], [5, 6], [9, 10]], dtype=np.int32))

def test_select_set(self):
Expand All @@ -84,8 +84,8 @@ def test_select_multi_index(self):

def test_select_multi_slice1(self):
cube = Dataset(self.cube)
self.assertEqual(cube.select(longitude=(0, 1),
latitude=(0, 1)).data.data,
self.assertEqual(cube.select(longitude=(0, 1.01),
latitude=(0, 1.01)).data.data,
np.array([[5, 6], [9, 10]], dtype=np.int32))

def test_select_multi_slice2(self):
Expand Down

0 comments on commit 3e3cb45

Please sign in to comment.