Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
…nto fix/dask-compat
  • Loading branch information
jhamman committed Sep 17, 2024
commit d78e38479ab7792ed64f4007d98419039d4e848a
6 changes: 3 additions & 3 deletions src/zarr/testing/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ async def test_list_dir(self, store: S) -> None:
async def test_set_get(self, store_kwargs: dict[str, Any]) -> None:
kwargs = {**store_kwargs, **{"mode": "w"}}
store = self.store_cls(**kwargs)
await zarr.api.asynchronous.open_array(store=store, path="a", mode="w", shape=(4,))
await zarr.api.asynchronous.open_array(store=store, path="a", shape=(4,))
keys = [x async for x in store.list()]
assert keys == ["a/zarr.json"]

# no errors
await zarr.api.asynchronous.open_array(store=store, path="a", mode="r")
await zarr.api.asynchronous.open_array(store=store, path="a", mode="a")
await zarr.api.asynchronous.open_array(store=store, path="a")
await zarr.api.asynchronous.open_array(store=store, path="a")
2 changes: 1 addition & 1 deletion tests/v3/test_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from zarr.core.group import GroupMetadata
from zarr.core.sync import sync
from zarr.errors import ContainsArrayError, ContainsGroupError
from zarr.storage import LocalStore, StorePath
from zarr.storage import LocalStore, MemoryStore, StorePath
from zarr.storage.common import make_store_path

from .conftest import parse_store
Expand Down
4 changes: 2 additions & 2 deletions tests/v3/test_store/test_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

import pytest

from zarr.core.buffer import Buffer, cpu
from zarr.storage.memory import MemoryStore
from zarr.core.buffer import Buffer, cpu, gpu
from zarr.storage.memory import GpuMemoryStore, MemoryStore
from zarr.testing.store import StoreTests
from zarr.testing.utils import gpu_test

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.