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 Aug 4, 2024
1 parent c5a7d8a commit 82c6909
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion xarray/tests/test_coding_times.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ def test_cf_datetime(num_dates, units, calendar) -> None:
# https://github.com/Unidata/netcdf4-python/issues/355
assert (abs_diff <= np.timedelta64(1, "s")).all()
encoded1, _, _ = encode_cf_datetime(actual, units, calendar)

assert_duckarray_allclose(num_dates, encoded1)

if hasattr(num_dates, "ndim") and num_dates.ndim == 1 and "1000" not in units:
Expand Down

0 comments on commit 82c6909

Please sign in to comment.