Skip to content

Commit 2df18a0

Browse files
committed
fix test_iter_grid
1 parent 7728d7f commit 2df18a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/zarr/api/asynchronous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ async def _copy_chunk(chunk_coords: ChunkCoords | slice, _data: Array) -> None:
562562
if new_array.chunks == data.chunks:
563563
# Stream data from the source array to the new array
564564
await concurrent_map(
565-
[(region,data) for region in data._iter_chunk_regions()],
565+
[(region, data) for region in data._iter_chunk_regions()],
566566
_copy_chunk,
567567
config.get("async.concurrency"),
568568
)

tests/test_indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1871,7 +1871,7 @@ def test_iter_grid(
18711871
"""
18721872
Test that iter_grid works as expected for 1, 2, and 3 dimensions.
18731873
"""
1874-
grid_shape = (10, 2, 7)[:ndim]
1874+
grid_shape = (10, 5, 7)[:ndim]
18751875

18761876
if origin_0d is not None:
18771877
origin_kwarg = origin_0d * ndim

0 commit comments

Comments
 (0)