Skip to content

Commit 90df740

Browse files
committed
revert removal of type ignores
1 parent 9917343 commit 90df740

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,10 +1039,10 @@ async def test_metadata_validation_error() -> None:
10391039
MetadataValidationError,
10401040
match="Invalid value for 'zarr_format'. Expected '2, 3, or None'. Got '3.0'.",
10411041
):
1042-
await zarr.api.asynchronous.open_group(zarr_format="3.0")
1042+
await zarr.api.asynchronous.open_group(zarr_format="3.0") # type: ignore[arg-type]
10431043

10441044
with pytest.raises(
10451045
MetadataValidationError,
10461046
match="Invalid value for 'zarr_format'. Expected '2, 3, or None'. Got '3.0'.",
10471047
):
1048-
await zarr.api.asynchronous.open_array(shape=(1,), zarr_format="3.0")
1048+
await zarr.api.asynchronous.open_array(shape=(1,), zarr_format="3.0") # type: ignore[arg-type]

0 commit comments

Comments
 (0)