Skip to content

Commit

Permalink
remove skip when python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi committed Jun 5, 2024
1 parent c86db20 commit df2aa31
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/unit/preprocessor/_regrid_esmpy/test_regrid_esmpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,6 @@ def test_coords_iris_to_esmpy_2d_non_circular(self):
self.assert_array_equal(esmpy_lon_corners,
self.expected_esmpy_lon_corners)

@pytest.mark.skipif(sys.version_info.major == 3
and sys.version_info.minor == 9,
reason="bug in mock.py for Python 3.9.0 and 3.9.1")
def test_get_grid_circular(self):
"""Test building of ESMF grid from iris cube circular longitude."""
expected_get_coords_calls = [
Expand All @@ -405,9 +402,6 @@ def test_get_grid_circular(self):
mg.add_item.assert_called_once_with(mock.sentinel.gi_mask,
mock.sentinel.sl_center)

@pytest.mark.skipif(sys.version_info.major == 3
and sys.version_info.minor == 9,
reason="bug in mock.py for Python 3.9.0 and 3.9.1")
def test_get_grid_non_circular(self):
"""Test building of ESMF grid from iris cube non circular longitude."""
expected_get_coords_calls = [
Expand Down Expand Up @@ -465,9 +459,6 @@ def test_is_lon_circular_2d_aux_coords_non_circ(self):

@mock.patch('esmvalcore.preprocessor._regrid_esmpy.esmpy.Grid', MockGrid)
@mock.patch('esmvalcore.preprocessor._regrid_esmpy.esmpy.Field')
@pytest.mark.skipif(sys.version_info.major == 3
and sys.version_info.minor == 9,
reason="bug in mock.py for Python 3.9.0 and 3.9.1")
def test_cube_to_empty_field(self, mock_field):
"""Test building of empty field from iris cube."""
field = cube_to_empty_field(self.cube)
Expand Down

0 comments on commit df2aa31

Please sign in to comment.