Skip to content

Commit 9c8d51f

Browse files
committed
Add changelog entry. Fix type casting typo.
1 parent 39e16da commit 9c8d51f

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

changes/3391.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Make config param optional in init_array

src/zarr/testing/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ def has_cupy() -> bool:
4646

4747
# Decorator for GPU tests
4848
def gpu_test(func: T) -> T:
49-
return cast("T", gpu_mark(skip_if_no_gpu(func)))
49+
return cast(T, gpu_mark(skip_if_no_gpu(func)))

tests/test_api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,6 @@ async def test_init_order_warns() -> None:
417417
store_path=StorePath(store=MemoryStore()),
418418
shape=(1,),
419419
dtype="uint8",
420-
config=None,
421420
zarr_format=3,
422421
order="F",
423422
)

0 commit comments

Comments
 (0)