Skip to content

Commit f946499

Browse files
committed
use zarr_format fixture
1 parent c0d5407 commit f946499

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/test_info.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
from zarr.core._info import ArrayInfo, GroupInfo, human_readable_size
88
from zarr.core.common import ZarrFormat
99

10-
ZARR_FORMATS = [2, 3]
1110

12-
13-
@pytest.mark.parametrize("zarr_format", ZARR_FORMATS)
1411
def test_group_info_repr(zarr_format: ZarrFormat) -> None:
1512
info = GroupInfo(
1613
_name="a", _store_type="MemoryStore", _read_only=False, _zarr_format=zarr_format
@@ -25,7 +22,6 @@ def test_group_info_repr(zarr_format: ZarrFormat) -> None:
2522
assert result == expected
2623

2724

28-
@pytest.mark.parametrize("zarr_format", ZARR_FORMATS)
2925
def test_group_info_complete(zarr_format: ZarrFormat) -> None:
3026
info = GroupInfo(
3127
_name="a",
@@ -49,7 +45,6 @@ def test_group_info_complete(zarr_format: ZarrFormat) -> None:
4945
assert result == expected
5046

5147

52-
@pytest.mark.parametrize("zarr_format", ZARR_FORMATS)
5348
def test_array_info(zarr_format: ZarrFormat) -> None:
5449
info = ArrayInfo(
5550
_zarr_format=zarr_format,
@@ -74,7 +69,6 @@ def test_array_info(zarr_format: ZarrFormat) -> None:
7469
Codecs : [{{'endian': <Endian.little: 'little'>}}]""")
7570

7671

77-
@pytest.mark.parametrize("zarr_format", ZARR_FORMATS)
7872
@pytest.mark.parametrize("bytes_things", [(1_000_000, "976.6K", 500_000, "500000", "2.0", 5)])
7973
def test_array_info_complete(
8074
zarr_format: ZarrFormat, bytes_things: tuple[int, str, int, str, str, int]

0 commit comments

Comments
 (0)