Skip to content

Commit

Permalink
Remove unnecessary test in regrid to allow install of iris 3.4 - feat…
Browse files Browse the repository at this point in the history
…ure from #1846 (#1857)

Co-authored-by: Bouwe Andela <b.andela@esciencecenter.nl>
  • Loading branch information
valeriupredoi and bouweandela committed Dec 8, 2022
1 parent a00f749 commit 578fb61
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/integration/preprocessor/_regrid/test_regrid.py
Expand Up @@ -241,11 +241,6 @@ def test_regrid__unstructured_nearest_int(self):
expected = np.array([[[1]], [[1]], [[1]]])
np.testing.assert_array_equal(result.data, expected)

# Make sure that dtype is not preserved (since conversion from float to
# int would be necessary)
assert np.issubdtype(self.unstructured_grid_cube.dtype, np.integer)
assert result.dtype == np.float64

# Make sure that output is a masked array with correct fill value
# (= maximum int)
np.testing.assert_allclose(result.data.fill_value,
Expand Down

0 comments on commit 578fb61

Please sign in to comment.