Skip to content

Commit 1221750

Browse files
committed
fix
1 parent 1c3ce2a commit 1221750

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xarray/tests/test_backends.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,8 +2084,8 @@ def test_roundtrip_cftime_bnds(self):
20842084
with create_tmp_file() as tmp_file:
20852085
original.to_netcdf(tmp_file)
20862086
with open_dataset(tmp_file) as actual:
2087-
# Needed to load time_bnds into memory
2088-
assert actual.time_bnds.values == original.time_bnds
2087+
# Operation to load actual time_bnds into memory
2088+
assert_array_equal(actual.time_bnds.values, original.time_bnds.values)
20892089
chunked = actual.chunk(time=1)
20902090
with create_tmp_file() as tmp_file_chunked:
20912091
chunked.to_netcdf(tmp_file_chunked)

0 commit comments

Comments
 (0)