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

Function test_concatenate_flatten

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

Source from the content-addressed store, hash-verified

834
835
836def test_concatenate_flatten():
837 x = np.array([1, 2])
838 y = np.array([[3, 4], [5, 6]])
839
840 a = da.from_array(x, chunks=(2,))
841 b = da.from_array(y, chunks=(2, 1))
842
843 assert_eq(np.concatenate([x, y], axis=None), da.concatenate([a, b], axis=None))
844
845
846def test_concatenate_rechunk():

Callers

nothing calls this directly

Calls 1

assert_eqFunction · 0.90

Tested by

no test coverage detected