()
| 2286 | |
| 2287 | |
| 2288 | def 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 | |
| 2297 | class ThreadSafetyError(Exception): |