Skip to content

Commit 0554fd2

Browse files
committed
fix attrs test?
1 parent 7a70ac7 commit 0554fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cf_xarray/tests/test_accessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,7 @@ def test_add_canonical_attributes(override, skip, verbose, capsys):
17481748

17491749
# Attributes have been added
17501750
for var in sum(ds.cf.standard_names.values(), []):
1751-
assert set(ds[var].attrs) < set(cf_ds[var].attrs)
1751+
assert set(ds[var].attrs) <= set(cf_ds[var].attrs)
17521752

17531753
# Time units did not change
17541754
assert ds["time"].attrs.get("units") is cf_ds["time"].attrs.get("units") is None

0 commit comments

Comments
 (0)