@@ -103,6 +103,7 @@ def create_raster_field(x_of_col, y_of_row, node_mask=None):
103
103
return Field (mesh , meshloc = MeshLoc .NODE )
104
104
105
105
106
+ @pytest .mark .skipif (pet_count ()!= 1 , reason = "test must be run in serial" )
106
107
@pytest .mark .parametrize ("mask_value" , (None , 0 , True , 1 , False ))
107
108
@pytest .mark .parametrize ("method" , NON_CONSERVATIVE_METHODS )
108
109
def test_regrid_with_const_node_mask (mask_value , method ):
@@ -135,6 +136,7 @@ def test_regrid_with_const_node_mask(mask_value, method):
135
136
assert_array_almost_equal (dst .data [mask ], - 999 )
136
137
137
138
139
+ @pytest .mark .skipif (pet_count ()!= 1 , reason = "test must be run in serial" )
138
140
@pytest .mark .parametrize (
139
141
"mask" ,
140
142
(
@@ -171,6 +173,7 @@ def test_regrid_with_node_mask(mask, method):
171
173
assert_array_almost_equal (dst .data [mask ], - 999 )
172
174
173
175
176
+ @pytest .mark .skipif (pet_count ()!= 1 , reason = "test must be run in serial" )
174
177
@pytest .mark .parametrize ("method" , NON_CONSERVATIVE_METHODS )
175
178
def test_regrid_with_multivalued_node_mask (method ):
176
179
"""Check regridding that masks multiple values."""
0 commit comments