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

Function test_default_rng

dask/array/tests/test_random.py:35–37  ·  view source on GitHub ↗
(sd)

Source from the content-addressed store, hash-verified

33 "sd", [None, 42, np.random.PCG64, da.random.Generator(np.random.PCG64)], ids=type
34)
35def test_default_rng(sd):
36 rng = da.random.default_rng(seed=sd)
37 assert isinstance(rng, da.random.Generator)
38
39
40def test_concurrency(generator_class):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected