Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Dec 22, 2023
1 parent 3d35e88 commit 17cb025
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dask/tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,11 +710,14 @@ def optimize(self, fuse=False):
return self

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

with pytest.raises(AssertionError, match="must not reach"):
dyf.__dask_keys__()
with pytest.raises(AssertionError, match="must not reach"):
dyf.__dask_graph__()

assert is_dask_collection(dyf)


def test_unpack_collections():
class ANamedTuple(NamedTuple):
Expand Down

0 comments on commit 17cb025

Please sign in to comment.