We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c3ce2a commit 1221750Copy full SHA for 1221750
xarray/tests/test_backends.py
@@ -2084,8 +2084,8 @@ def test_roundtrip_cftime_bnds(self):
2084
with create_tmp_file() as tmp_file:
2085
original.to_netcdf(tmp_file)
2086
with open_dataset(tmp_file) as actual:
2087
- # Needed to load time_bnds into memory
2088
- assert actual.time_bnds.values == original.time_bnds
+ # Operation to load actual time_bnds into memory
+ assert_array_equal(actual.time_bnds.values, original.time_bnds.values)
2089
chunked = actual.chunk(time=1)
2090
with create_tmp_file() as tmp_file_chunked:
2091
chunked.to_netcdf(tmp_file_chunked)
0 commit comments