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

Function test_auto_chunks

dask/array/tests/test_random.py:418–421  ·  view source on GitHub ↗
(generator_class)

Source from the content-addressed store, hash-verified

416
417
418def test_auto_chunks(generator_class):
419 with dask.config.set({"array.chunk-size": "50 MiB"}):
420 x = generator_class().random((10000, 10000))
421 assert 4 < x.npartitions < 32
422
423
424def test_randint_dtype():

Callers

nothing calls this directly

Calls 3

generator_classFunction · 0.85
setMethod · 0.80
randomMethod · 0.45

Tested by

no test coverage detected