Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
brokkoli71 committed Oct 16, 2024
1 parent adc3240 commit 52b54a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/v3/test_codecs/test_sharding.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ShardingCodec,
ShardingCodecIndexLocation,
TransposeCodec,
Crc32cCodec,
)
from zarr.core.buffer import default_buffer_prototype
from zarr.storage.common import StorePath
Expand Down Expand Up @@ -333,11 +332,11 @@ def test_pickle() -> None:
assert pickle.loads(pickle.dumps(codec)) == codec


@pytest.mark.parametrize("store", ("local", "memory"), indirect=["store"])
@pytest.mark.parametrize("store", ["local", "memory"], indirect=["store"])
@pytest.mark.parametrize(
"index_location", [ShardingCodecIndexLocation.start, ShardingCodecIndexLocation.end]
)
async def test_sharding_2(store: Store, index_location: ShardingCodecIndexLocation) -> None:
async def test_sharding2(store: Store, index_location: ShardingCodecIndexLocation) -> None:
shape = (10, 2)
data = np.ones(np.prod(shape), dtype="int32").reshape(shape)
fill_value = 42
Expand Down

0 comments on commit 52b54a8

Please sign in to comment.