Skip to content

Commit

Permalink
use pytest.importorskip for rioxarray in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-schmitt committed Jan 30, 2024
1 parent f593961 commit 6b0eb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oggm/tests/test_prepro.py
Expand Up @@ -9,11 +9,11 @@
import numpy as np
import pandas as pd
import xarray as xr
import rioxarray as rioxr

salem = pytest.importorskip('salem')
rasterio = pytest.importorskip('rasterio')
gpd = pytest.importorskip('geopandas')
rioxr = pytest.importorskip('rioxarray')

# Local imports
import oggm
Expand Down

0 comments on commit 6b0eb17

Please sign in to comment.