Skip to content

Commit f989884

Browse files
committed
Remove test that stores empty file
1 parent 86951b8 commit f989884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zarr/testing/store.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ def test_store_supports_listing(self, store: S) -> None:
103103
raise NotImplementedError
104104

105105
@pytest.mark.parametrize("key", ["c/0", "foo/c/0.0", "foo/0/0"])
106-
@pytest.mark.parametrize("data", [b"\x01\x02\x03\x04", b""])
107106
@pytest.mark.parametrize("byte_range", [None, (0, None), (1, None), (1, 2), (None, 1)])
108107
async def test_get(
109-
self, store: S, key: str, data: bytes, byte_range: None | tuple[int | None, int | None]
108+
self, store: S, key: str, byte_range: None | tuple[int | None, int | None]
110109
) -> None:
111110
"""
112111
Ensure that data can be read from the store using the store.get method.
113112
"""
113+
data = b"\x01\x02\x03\x04"
114114
data_buf = self.buffer_cls.from_bytes(data)
115115
await self.set(store, key, data_buf)
116116
observed = await store.get(key, prototype=default_buffer_prototype(), byte_range=byte_range)

0 commit comments

Comments
 (0)