()
| 373 | |
| 374 | |
| 375 | def test_create_with_auto_dimensions(): |
| 376 | with dask.config.set({"array.chunk-size": "128MiB"}): |
| 377 | x = da.random.random((10000, 10000), chunks=(-1, "auto")) |
| 378 | assert x.chunks == ((10000,), (1677,) * 5 + (1615,)) |
| 379 | |
| 380 | y = da.random.random((10000, 10000), chunks="auto") |
| 381 | assert y.chunks == ((4096, 4096, 1808),) * 2 |
| 382 | |
| 383 | |
| 384 | def test_names(): |