Skip to content

Commit 22c0a04

Browse files
committed
Remove test that stores empty file
1 parent 122760f commit 22c0a04

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
@@ -114,14 +114,14 @@ def test_store_supports_listing(self, store: S) -> None:
114114
raise NotImplementedError
115115

116116
@pytest.mark.parametrize("key", ["c/0", "foo/c/0.0", "foo/0/0"])
117-
@pytest.mark.parametrize("data", [b"\x01\x02\x03\x04", b""])
118117
@pytest.mark.parametrize("byte_range", [None, (0, None), (1, None), (1, 2), (None, 1)])
119118
async def test_get(
120-
self, store: S, key: str, data: bytes, byte_range: tuple[int | None, int | None] | None
119+
self, store: S, key: str, byte_range: tuple[int | None, int | None] | None
121120
) -> None:
122121
"""
123122
Ensure that data can be read from the store using the store.get method.
124123
"""
124+
data = b"\x01\x02\x03\x04"
125125
data_buf = self.buffer_cls.from_bytes(data)
126126
await self.set(store, key, data_buf)
127127
observed = await store.get(key, prototype=default_buffer_prototype(), byte_range=byte_range)

0 commit comments

Comments
 (0)