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

Method test_align_override_error

xarray/tests/test_dataarray.py:3416–3420  ·  view source on GitHub ↗
(self, darrays)

Source from the content-addressed store, hash-verified

3414 ],
3415 )
3416 def test_align_override_error(self, darrays) -> None:
3417 with pytest.raises(
3418 ValueError, match=r"cannot align.*join.*override.*same size"
3419 ):
3420 xr.align(*darrays, join="override")
3421
3422 def test_align_exclude(self) -> None:
3423 x = DataArray([[1, 2], [3, 4]], coords=[("a", [-1, -2]), ("b", [3, 4])])

Callers

nothing calls this directly

Calls 1

alignMethod · 0.80

Tested by

no test coverage detected