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

Function test_from_array_masked_array

dask/array/tests/test_masked.py:31–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29
30
31def test_from_array_masked_array():
32 m = np.ma.masked_array([1, 2, 3], mask=[True, True, False], fill_value=10)
33 dm = da.from_array(m, chunks=(2,), asarray=False)
34 assert_eq(dm, m)
35
36
37def test_copy_deepcopy():

Callers

nothing calls this directly

Calls 1

assert_eqFunction · 0.90

Tested by

no test coverage detected