()
| 1178 | |
| 1179 | |
| 1180 | def test_elemwise_differently_chunked(): |
| 1181 | x = np.arange(3) |
| 1182 | y = np.arange(12).reshape(4, 3) |
| 1183 | a = from_array(x, chunks=(3,)) |
| 1184 | b = from_array(y, chunks=(2, 2)) |
| 1185 | |
| 1186 | assert_eq(a + b, x + y) |
| 1187 | assert_eq(b + a, x + y) |
| 1188 | |
| 1189 | |
| 1190 | @pytest.mark.filterwarnings("ignore:overflow encountered in cast") # numpy >=2.0 |
nothing calls this directly
no test coverage detected
searching dependent graphs…