Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamman committed Nov 11, 2024
1 parent 9804446 commit f5f71fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def test_save(store: Store, n_args: int, n_kwargs: int) -> None:
assert isinstance(array, Array)
assert_array_equal(array[:], data)
else:
save(store, *args, **kwargs)
save(store, *args, **kwargs) # type: ignore[arg-type]
group = open(store)
assert isinstance(group, Group)
for array in group.array_values():
Expand Down Expand Up @@ -1023,10 +1023,10 @@ async def test_metadata_validation_error() -> None:
MetadataValidationError,
match="Invalid value for 'zarr_format'. Expected '2, 3, or None'. Got '3.0'.",
):
await zarr.api.asynchronous.open_group(zarr_format="3.0")
await zarr.api.asynchronous.open_group(zarr_format="3.0") # type: ignore[arg-type]

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

0 comments on commit f5f71fa

Please sign in to comment.