Skip to content

Commit 39eb8f3

Browse files
committedDec 17, 2024·
adjust test for PR dask-contrib#558
1 parent 5c4eebe commit 39eb8f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎tests/test_core.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,8 @@ def test_map_partitions_deterministic_token():
986986
dask_arr = dak.from_awkward(ak.Array([1]), npartitions=1)
987987

988988
def f(x):
989-
return x + 1
989+
return x[0] + 1
990990

991-
assert map_partitions(f, dask_arr).name == map_partitions(f, dask_arr).name
991+
assert (
992+
map_partitions(f, {0: dask_arr}).name == map_partitions(f, {0: dask_arr}).name
993+
)

0 commit comments

Comments
 (0)
Please sign in to comment.