()
| 4750 | |
| 4751 | |
| 4752 | def 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 | |
| 4764 | def test_stack_errs(): |