Skip to content

Commit 8b706f2

Browse files
committed
type fixes
1 parent 64ad525 commit 8b706f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def test_open_with_mode_w_minus(tmp_path: pathlib.Path) -> None:
208208

209209
@pytest.mark.parametrize("order", ["C", "F", None])
210210
@pytest.mark.parametrize("zarr_format", [2, 3])
211-
def test_array_order(order: str | None, zarr_format: int) -> None:
211+
def test_array_order(order: Literal["C", "F"] | None, zarr_format: ZarrFormat) -> None:
212212
arr = zarr.ones(shape=(2, 2), order=order, zarr_format=zarr_format)
213213
expected = order or zarr.config.get("array.order")
214214
assert arr.order == expected

0 commit comments

Comments
 (0)