Skip to content

Commit

Permalink
tests: skip optional rasterio tests (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle authored Jul 15, 2024
1 parent be26385 commit a5310ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/bridge/test_from_tiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
from geovista.bridge import Transform
from geovista.pantry import fetch_raster

# skip tests if rasterio package unavailable
pytest.importorskip("rasterio")

# convert to string to exercise conversion back to Path
fname: str = str(fetch_raster("bahamas_rgb.tif"))

Expand Down

0 comments on commit a5310ae

Please sign in to comment.