Skip to content

Commit c2ac14a

Browse files
jsignellbenbovy
andauthored
Check all variables
Co-authored-by: Benoit Bovy <benbovy@gmail.com>
1 parent 6440ab4 commit c2ac14a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xarray/testing/assertions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def _assert_indexes_invariants_checks(
372372
assert not any(
373373
isinstance(v, IndexVariable)
374374
for k, v in possible_coord_variables.items()
375-
if v.dims == (k,) and k not in indexes.keys()
375+
if k not in indexes.keys()
376376
), {k: type(v) for k, v in possible_coord_variables.items()}
377377

378378
# check pandas index wrappers vs. coordinate data adapters

0 commit comments

Comments
 (0)