Skip to content

Commit

Permalink
complete Expr
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Dec 22, 2023
1 parent d5329bd commit 3d35e88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dask/tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,9 +700,15 @@ class DoNotMaterialize(dx._core.Expr):
def _meta(self):
return 0

def __dask_keys__(self):
assert False, "must not reach"

def __dask_graph__(self):
assert False, "must not reach"

def optimize(self, fuse=False):
return self

dyf = dx._collection.new_collection(DoNotMaterialize())
assert is_dask_collection(dyf)

Expand Down

0 comments on commit 3d35e88

Please sign in to comment.