Skip to content

Commit d6ee154

Browse files
Altay Sansaltasansal
authored andcommitted
Replace FSStore with FsspecStore in test fixtures
1 parent 4f67f9a commit d6ee154

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from numpy.typing import NDArray
1111
from zarr import Group
1212
from zarr import consolidate_metadata
13-
from zarr.storage import FSStore
13+
from zarr.storage import FsspecStore
1414

1515
from mdio import MDIOReader
1616
from mdio.core import Dimension
@@ -32,7 +32,7 @@
3232
def mock_store(tmp_path_factory):
3333
"""Make a mocked MDIO store for writing."""
3434
tmp_dir = tmp_path_factory.mktemp("mdio")
35-
return FSStore(tmp_dir.name)
35+
return FsspecStore(tmp_dir.name)
3636

3737

3838
@pytest.fixture
@@ -73,7 +73,7 @@ def mock_data(mock_coords):
7373

7474
@pytest.fixture
7575
def mock_mdio(
76-
mock_store: FSStore,
76+
mock_store: FsspecStore,
7777
mock_dimensions: list[Dimension],
7878
mock_coords: tuple[NDArray],
7979
mock_data: NDArray,

0 commit comments

Comments
 (0)