Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
Co-authored-by: Richard (Rick) Zamora <[email protected]>
  • Loading branch information
madsbk and rjzamora authored Sep 26, 2023
1 parent c6950a9 commit 95070d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dask_cuda/tests/test_explicit_comms.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,14 @@ def _test_dataframe_shuffle(backend, protocol, n_workers, _partitions):
assert ddf.npartitions == output_nparts

if _partitions:
# If "_partitions" is the hash key, we except all but
# If "_partitions" is the hash key, we expect all but
# the first partition to be empty
assert_eq(ddf.partitions[0].compute(), df)
assert all(
len(ddf.partitions[i].compute()) == 0
for i in range(1, ddf.npartitions)
)
else:

# Check that each partition hashes to the same value
result = ddf.map_partitions(
check_partitions, output_nparts
Expand Down

0 comments on commit 95070d2

Please sign in to comment.