Skip to content

Commit e0ba23b

Browse files
committed
skip healpix coord test if earth2grid not installed
1 parent 4d1fb93 commit e0ba23b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fme/core/test_coordinates.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
HEALPixCoordinates,
99
HybridSigmaPressureCoordinate,
1010
LatLonCoordinates,
11+
e2ghpx,
1112
)
1213
from fme.core.mask_provider import MaskProvider
1314

@@ -239,6 +240,7 @@ def test_healpix_ops_raises_value_error_with_mask():
239240
healpix_coords.get_gridded_operations(mask_provider=mask_provider)
240241

241242

243+
@pytest.mark.skipif(e2ghpx is None, reason="earth2grid healpix not available")
242244
@pytest.mark.parametrize("pad", [True, False])
243245
def test_healpix_coordinates_xyz(pad: bool, very_fast_only: bool):
244246
if very_fast_only:

0 commit comments

Comments
 (0)