MCPcopy Create free account
hub / github.com/dask/dask / test_concatenate_errs

Function test_concatenate_errs

dask/array/tests/test_array_core.py:4752–4761  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4750
4751
4752def test_concatenate_errs():
4753 with pytest.raises(ValueError, match=r"Shapes.*\(2, 1\)"):
4754 da.concatenate(
4755 [da.zeros((2, 1), chunks=(2, 1)), da.zeros((2, 3), chunks=(2, 3))]
4756 )
4757
4758 with pytest.raises(ValueError):
4759 da.concatenate(
4760 [da.zeros((1, 2), chunks=(1, 2)), da.zeros((3, 2), chunks=(3, 2))], axis=1
4761 )
4762
4763
4764def test_stack_errs():

Callers

nothing calls this directly

Calls 1

zerosMethod · 0.45

Tested by

no test coverage detected