Skip to content

Commit 5cdb515

Browse files
committed
*params -> *like, in tests
1 parent 4654cbd commit 5cdb515

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_array.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
)
2323
from zarr.core._info import ArrayInfo
2424
from zarr.core.array import (
25-
CompressorsParam,
26-
FiltersParam,
25+
CompressorsLike,
26+
FiltersLike,
2727
_get_default_chunk_encoding_v2,
2828
_get_default_chunk_encoding_v3,
2929
_parse_chunk_encoding_v2,
@@ -1054,7 +1054,7 @@ async def test_create_array_no_filters_compressors(
10541054
],
10551055
)
10561056
async def test_create_array_v3_chunk_encoding(
1057-
store: MemoryStore, compressors: CompressorsParam, filters: FiltersParam, dtype: str
1057+
store: MemoryStore, compressors: CompressorsLike, filters: FiltersLike, dtype: str
10581058
) -> None:
10591059
"""
10601060
Test various possibilities for the compressors and filters parameter to create_array
@@ -1091,7 +1091,7 @@ async def test_create_array_v3_chunk_encoding(
10911091
"filters", ["auto", None, numcodecs.GZip(level=1), (numcodecs.GZip(level=1),)]
10921092
)
10931093
async def test_create_array_v2_chunk_encoding(
1094-
store: MemoryStore, compressors: CompressorsParam, filters: FiltersParam, dtype: str
1094+
store: MemoryStore, compressors: CompressorsLike, filters: FiltersLike, dtype: str
10951095
) -> None:
10961096
arr = await create_array(
10971097
store=store,

0 commit comments

Comments
 (0)