MCPcopy Index your code
hub / github.com/dask/dask / test_kwargs

Function test_kwargs

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

Source from the content-addressed store, hash-verified

111
112
113def test_kwargs(generator_class):
114 a = generator_class().normal(loc=10.0, scale=0.1, size=(10, 10), chunks=(5, 5))
115 assert isinstance(a, Array)
116 x = np.array(a)
117 assert 8 < x.mean() < 12
118
119
120def test_unique_names(generator_class):

Callers

nothing calls this directly

Calls 3

generator_classFunction · 0.85
normalMethod · 0.45
meanMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…