We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef87908 commit 9cfd9b3Copy full SHA for 9cfd9b3
tests/unit/conftest.py
@@ -7,6 +7,7 @@
7
8
import numpy as np
9
import pytest
10
+from fsspec.implementations.local import LocalFileSystem
11
from numpy.typing import NDArray
12
from zarr import Group
13
from zarr import consolidate_metadata
@@ -32,7 +33,8 @@
32
33
def mock_store(tmp_path_factory):
34
"""Make a mocked MDIO store for writing."""
35
tmp_dir = tmp_path_factory.mktemp("mdio")
- return FsspecStore(tmp_dir.name)
36
+ fs = LocalFileSystem(tmp_dir.name)
37
+ return FsspecStore(fs)
38
39
40
@pytest.fixture
0 commit comments