Skip to content

Commit 2eda081

Browse files
committed
Add @requires_cftime test decorator
1 parent 9d08a18 commit 2eda081

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xarray/tests/test_coding_times.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ def test_encode_cf_datetime_pandas_min() -> None:
853853
assert calendar == expected_calendar
854854

855855

856+
@requires_cftime
856857
def test_encode_cf_datetime_invalid_pandas_valid_cftime() -> None:
857858
num, units, calendar = encode_cf_datetime(
858859
pd.date_range("2000", periods=3),

0 commit comments

Comments
 (0)