Skip to content

Commit f806ba1

Browse files
committed
Don't run test_arbitrary_zarr_store on tensorstore
1 parent cd0322e commit f806ba1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cubed/tests/test_store.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55

66
import cubed
77
import cubed.array_api as xp
8+
from cubed.storage.backend import backend_storage_name
89

910
ZARR_PYTHON_V2 = zarr.__version__[0] == "2"
1011

1112

1213
@pytest.mark.skipif(
13-
ZARR_PYTHON_V2,
14-
reason="setting an arbitrary Zarr store is not supported for Zarr Python v2",
14+
ZARR_PYTHON_V2 or backend_storage_name() == "tensorstore",
15+
reason="setting an arbitrary Zarr store is not supported for Zarr Python v2, or tensorstore",
1516
)
1617
def test_arbitrary_zarr_store():
1718
store = zarr.storage.MemoryStore()

0 commit comments

Comments
 (0)