MCPcopy
hub / github.com/dask/dask / test_serializability

Function test_serializability

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

Source from the content-addressed store, hash-verified

57
58
59def test_serializability(generator_class):
60 state = generator_class(5)
61 x = state.normal(10, 1, size=10, chunks=5)
62
63 y = _loads(_dumps(x))
64
65 assert_eq(x, y)
66
67
68def test_determinism_through_dask_values(generator_class):

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…