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

Function test_normalize_chunks_nan

dask/array/tests/test_array_core.py:4922–4928  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4920
4921
4922def test_normalize_chunks_nan():
4923 with pytest.raises(ValueError) as info:
4924 normalize_chunks("auto", (np.nan,), limit=10, dtype=np.uint8)
4925 assert "auto" in str(info.value)
4926 with pytest.raises(ValueError) as info:
4927 normalize_chunks(((np.nan, np.nan), "auto"), (10, 10), limit=10, dtype=np.uint8)
4928 assert "auto" in str(info.value)
4929
4930
4931def test_pandas_from_dask_array():

Callers

nothing calls this directly

Calls 1

normalize_chunksFunction · 0.90

Tested by

no test coverage detected