MCPcopy Index your code
hub / github.com/pydata/xarray / test_equals

Method test_equals

xarray/tests/test_indexes.py:88–90  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

86 index.reindex_like(CustomIndex({"y": 2}))
87
88 def test_equals(self, index) -> None:
89 with pytest.raises(NotImplementedError):
90 index.equals(CustomIndex({"y": 2}))
91
92 def test_roll(self, index) -> None:
93 assert index.roll({}) is None

Callers

nothing calls this directly

Calls 2

CustomIndexClass · 0.70
equalsMethod · 0.45

Tested by

no test coverage detected