Skip to content

Commit ea1356e

Browse files
committed
Enable stateful tests for ZipStore
1 parent 1823a09 commit ea1356e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/test_store/test_stateful.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
)
66

77
from zarr.abc.store import Store
8-
from zarr.storage import LocalStore, ZipStore
8+
from zarr.storage import LocalStore
99
from zarr.testing.stateful import ZarrHierarchyStateMachine, ZarrStoreStateMachine
1010

1111
pytestmark = pytest.mark.slow_hypothesis
@@ -15,19 +15,13 @@ def test_zarr_hierarchy(sync_store: Store):
1515
def mk_test_instance_sync() -> ZarrHierarchyStateMachine:
1616
return ZarrHierarchyStateMachine(sync_store)
1717

18-
if isinstance(sync_store, ZipStore):
19-
pytest.skip(reason="ZipStore does not support delete")
20-
2118
run_state_machine_as_test(mk_test_instance_sync)
2219

2320

2421
def test_zarr_store(sync_store: Store) -> None:
2522
def mk_test_instance_sync() -> None:
2623
return ZarrStoreStateMachine(sync_store)
2724

28-
if isinstance(sync_store, ZipStore):
29-
pytest.skip(reason="ZipStore does not support delete")
30-
3125
if isinstance(sync_store, LocalStore):
3226
# This test uses arbitrary keys, which are passed to `set` and `delete`.
3327
# It assumes that `set` and `delete` are the only two operations that modify state.

0 commit comments

Comments
 (0)