Skip to content
forked from pydata/xarray

Commit b068e94

Browse files
committed
fix
1 parent 32d9ed0 commit b068e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/tests/test_coding_times.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@ def test_duck_array_decode_times(calendar) -> None:
19321932
decoded = conventions.decode_cf_variable(
19331933
"foo", var, decode_times=CFDatetimeCoder(use_cftime=None)
19341934
)
1935-
if calendar not in _STANDARD_CALENDARS:
1935+
if calendar not in _STANDARD_CALENDAR_NAMES:
19361936
assert decoded.dtype == np.dtype("O")
19371937
else:
19381938
assert decoded.dtype == np.dtype("=M8[ns]")

0 commit comments

Comments
 (0)