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

Method test_equals_failures

xarray/tests/test_dataset.py:1122–1126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1120 assert not data2.identical(data)
1121
1122 def test_equals_failures(self) -> None:
1123 data = create_test_data()
1124 assert not data.equals("foo") # type: ignore[arg-type]
1125 assert not data.identical(123) # type: ignore[arg-type]
1126 assert not data.broadcast_equals({1: 2}) # type: ignore[arg-type]
1127
1128 def test_broadcast_equals(self) -> None:
1129 data1 = Dataset(coords={"x": 0})

Callers

nothing calls this directly

Calls 4

create_test_dataFunction · 0.90
equalsMethod · 0.45
identicalMethod · 0.45
broadcast_equalsMethod · 0.45

Tested by

no test coverage detected