Skip to content

Commit 7447805

Browse files
committed
don't create invalid string dtype arrays in test
1 parent 855901c commit 7447805

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_array.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,6 +1335,8 @@ async def test_invalid_v3_arguments(
13351335
async def test_v2_chunk_encoding(
13361336
store: MemoryStore, compressors: CompressorsLike, filters: FiltersLike, dtype: str
13371337
) -> None:
1338+
if dtype == "str" and filters != "auto":
1339+
pytest.skip("Only the auto filters are compatible with str dtype in this test.")
13381340
arr = await create_array(
13391341
store=store,
13401342
dtype=dtype,

0 commit comments

Comments
 (0)