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 6661f22 commit 9aeee54Copy full SHA for 9aeee54
1 file changed
tests/test_store/test_fsspec.py
@@ -16,6 +16,7 @@
16
from zarr.core.sync import _collect_aiterator, sync
17
from zarr.errors import ZarrUserWarning
18
from zarr.storage import FsspecStore
19
+from zarr.storage._common import make_store
20
from zarr.storage._fsspec import _make_async
21
from zarr.testing.store import StoreTests
22
@@ -544,3 +545,10 @@ async def test_with_read_only_auto_mkdir(tmp_path: Path) -> None:
544
545
546
store_w = FsspecStore.from_url(f"file://{tmp_path}", storage_options={"auto_mkdir": False})
547
_ = store_w.with_read_only()
548
+
549
550
+async def test_memory_scheme() -> None:
551
+ """Test that the "memory" scheme creates a `MemoryFileSystem`-backed store"""
552
+ store = await make_store("memory://test")
553
+ assert isinstance(store, FsspecStore)
554
+ assert store.fs.protocol == "memory"
0 commit comments