MCPcopy
hub / github.com/dask/dask / test_generators

Function test_generators

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

Source from the content-addressed store, hash-verified

20
21
22def test_generators(generator_class):
23 state = generator_class(5)
24 x = state.normal(10, 1, size=10, chunks=5)
25 assert_eq(x, x)
26
27 state = generator_class(5)
28 y = state.normal(10, 1, size=10, chunks=5)
29 assert_eq(x, y)
30
31
32@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

assert_eqFunction · 0.90
generator_classFunction · 0.85
normalMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…