MCPcopy
hub / github.com/dask/dask / test_store_nocompute_regions

Function test_store_nocompute_regions

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

Source from the content-addressed store, hash-verified

2286
2287
2288def test_store_nocompute_regions():
2289 x = da.ones(10, chunks=1)
2290 y = np.zeros((2, 10))
2291 d1 = da.store(x, y, regions=(0,), compute=False)
2292 d2 = da.store(x, y, regions=(1,), compute=False)
2293 for l, r in zip(d1, d2):
2294 assert l.name != r.name
2295
2296
2297class ThreadSafetyError(Exception):

Callers

nothing calls this directly

Calls 3

storeMethod · 0.80
onesMethod · 0.45
zerosMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…