Skip to content

Commit

Permalink
add skip if OT not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
coxipi committed Nov 26, 2024
1 parent 90053c5 commit c037542
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_sdba/test_adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,7 @@ def test_shape(self, random, series):

# just check it runs
def test_different_times(self, tasmax_series, tasmin_series):
pytest.importorskip("ot")
# `sim` has a different time than `ref,hist` (but same size)
ref = xr.merge(
[
Expand Down

0 comments on commit c037542

Please sign in to comment.