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

Function test_asarray_chunks

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

Source from the content-addressed store, hash-verified

3112
3113
3114def test_asarray_chunks():
3115 with dask.config.set({"array.chunk-size": "100 B"}):
3116 x = np.ones(1000)
3117 d = da.asarray(x)
3118 assert d.npartitions > 1
3119
3120
3121@pytest.mark.filterwarnings("ignore:the matrix subclass")

Callers

nothing calls this directly

Calls 2

setMethod · 0.80
onesMethod · 0.45

Tested by

no test coverage detected