From ea1356e0105ca13d8db1bb8a5d640f266d786d44 Mon Sep 17 00:00:00 2001 From: Deepak Cherian Date: Wed, 5 Feb 2025 18:15:23 -0700 Subject: [PATCH] Enable stateful tests for ZipStore --- tests/test_store/test_stateful.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/test_store/test_stateful.py b/tests/test_store/test_stateful.py index 63df814ac9..2fb5e19b43 100644 --- a/tests/test_store/test_stateful.py +++ b/tests/test_store/test_stateful.py @@ -5,7 +5,7 @@ ) from zarr.abc.store import Store -from zarr.storage import LocalStore, ZipStore +from zarr.storage import LocalStore from zarr.testing.stateful import ZarrHierarchyStateMachine, ZarrStoreStateMachine pytestmark = pytest.mark.slow_hypothesis @@ -15,9 +15,6 @@ def test_zarr_hierarchy(sync_store: Store): def mk_test_instance_sync() -> ZarrHierarchyStateMachine: return ZarrHierarchyStateMachine(sync_store) - if isinstance(sync_store, ZipStore): - pytest.skip(reason="ZipStore does not support delete") - run_state_machine_as_test(mk_test_instance_sync) @@ -25,9 +22,6 @@ def test_zarr_store(sync_store: Store) -> None: def mk_test_instance_sync() -> None: return ZarrStoreStateMachine(sync_store) - if isinstance(sync_store, ZipStore): - pytest.skip(reason="ZipStore does not support delete") - if isinstance(sync_store, LocalStore): # This test uses arbitrary keys, which are passed to `set` and `delete`. # It assumes that `set` and `delete` are the only two operations that modify state.