Skip to content

Commit b119ea9

Browse files
committed
simplify test
1 parent 6ccfe95 commit b119ea9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_store/test_memory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_store_supports_partial_writes(self, store: MemoryStore) -> None:
5252
def test_list_prefix(self, store: MemoryStore) -> None:
5353
assert True
5454

55-
@pytest.mark.parametrize("dtype", ["uint8", "float32", "str"])
55+
@pytest.mark.parametrize("dtype", ["uint8", "float32", "int64"])
5656
@pytest.mark.parametrize("zarr_format", [2, 3])
5757
async def test_deterministic_size(
5858
self, store: MemoryStore, dtype, zarr_format: ZarrFormat
@@ -66,7 +66,7 @@ def padding_size() -> int:
6666
zarr_format=zarr_format,
6767
overwrite=True,
6868
)
69-
a[...] = b"1" if dtype == "str" else 1
69+
a[...] = 1
7070
key = "0" if zarr_format == 2 else "c/0"
7171
return len(store._store_dict[key])
7272

0 commit comments

Comments
 (0)