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

Method test_identical

xarray/tests/test_coordinates.py:159–165  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

157 assert not coords.equals(other_coords)
158
159 def test_identical(self):
160 coords = Coordinates(coords={"x": [0, 1, 2]})
161
162 assert coords.identical(coords)
163 # Test with a different Coordinates object instead of a string
164 other_coords = Coordinates(coords={"x": [3, 4, 5]})
165 assert not coords.identical(other_coords)
166
167 def test_assign(self) -> None:
168 coords = Coordinates(coords={"x": [0, 1, 2]})

Callers

nothing calls this directly

Calls 2

identicalMethod · 0.95
CoordinatesClass · 0.90

Tested by

no test coverage detected