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

Function test_concatenate_fixlen_strings

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

Source from the content-addressed store, hash-verified

860
861
862def test_concatenate_fixlen_strings():
863 x = np.array(["a", "b", "c"])
864 y = np.array(["aa", "bb", "cc"])
865
866 a = da.from_array(x, chunks=(2,))
867 b = da.from_array(y, chunks=(2,))
868
869 assert_eq(np.concatenate([x, y]), da.concatenate([a, b]))
870
871
872def test_concatenate_zero_size():

Callers

nothing calls this directly

Calls 1

assert_eqFunction · 0.90

Tested by

no test coverage detected