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

Function test_RandomState_only_funcs

dask/array/tests/test_random.py:200–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198
199
200def test_RandomState_only_funcs():
201 da.random.randint(10, size=5, chunks=3).compute()
202 with pytest.warns(DeprecationWarning):
203 da.random.random_integers(10, size=5, chunks=3).compute()
204 da.random.random_sample(10, chunks=3).compute()
205
206
207@pytest.mark.parametrize("sz", [None, 5, (2, 2)], ids=type)

Callers

nothing calls this directly

Calls 4

computeMethod · 0.45
randintMethod · 0.45
random_integersMethod · 0.45
random_sampleMethod · 0.45

Tested by

no test coverage detected