Skip to content

Commit

Permalink
Update test_coding_times.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Jul 9, 2024
1 parent e8e9cce commit 1d6077e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xarray/tests/test_coding_times.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
date_range,
decode_cf,
)
from xarray.coding.times import _STANDARD_CALENDARS as _STANDARD_CALENDARS_UNSORTED
from xarray.coding.times import (
_STANDARD_CALENDARS,
CFDatetimeCoder,
_encode_datetime_with_cftime,
_netcdf_to_numpy_timeunit,
Expand Down Expand Up @@ -58,9 +58,9 @@
"all_leap",
"366_day",
}
_STANDARD_CALENDARS = sorted(_STANDARD_CALENDARS_UNSORTED)
_ALL_CALENDARS = sorted(_NON_STANDARD_CALENDARS_SET.union(_STANDARD_CALENDARS))
_NON_STANDARD_CALENDARS = sorted(_NON_STANDARD_CALENDARS_SET)
_STANDARD_CALENDARS = sorted(_STANDARD_CALENDARS)
_CF_DATETIME_NUM_DATES_UNITS = [
(np.arange(10), "days since 2000-01-01"),
(np.arange(10).astype("float64"), "days since 2000-01-01"),
Expand Down

0 comments on commit 1d6077e

Please sign in to comment.