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

Method __dask_graph__

dask/array/_array_expr/tests/test_collection.py:112–113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

110def test_is_dask_collection_doesnt_materialize():
111 class ArrayTest(Array):
112 def __dask_graph__(self):
113 raise NotImplementedError
114
115 arr = ArrayTest(da.random.random((10, 10), chunks=(5, 5)).expr)
116 assert is_dask_collection(arr)

Calls

no outgoing calls

Tested by

no test coverage detected