File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -355,6 +355,7 @@ module = [
355
355
" tests.test_store.test_core" ,
356
356
" tests.test_store.test_logging" ,
357
357
" tests.test_store.test_object" ,
358
+ " tests.test_store.test_stateful" ,
358
359
]
359
360
strict = false
360
361
@@ -363,7 +364,6 @@ strict = false
363
364
[[tool .mypy .overrides ]]
364
365
module = [
365
366
" tests.test_metadata.*" ,
366
- " tests.test_store.test_stateful" ,
367
367
" tests.test_store.test_wrapper" ,
368
368
" tests.test_group" ,
369
369
" tests.test_indexing" ,
Original file line number Diff line number Diff line change 16
16
17
17
18
18
@pytest .mark .filterwarnings ("ignore::zarr.core.dtype.common.UnstableSpecificationWarning" )
19
- def test_zarr_hierarchy (sync_store : Store ):
19
+ def test_zarr_hierarchy (sync_store : Store ) -> None :
20
20
def mk_test_instance_sync () -> ZarrHierarchyStateMachine :
21
21
return ZarrHierarchyStateMachine (sync_store )
22
22
23
23
if isinstance (sync_store , ZipStore ):
24
24
pytest .skip (reason = "ZipStore does not support delete" )
25
25
26
- run_state_machine_as_test (mk_test_instance_sync )
26
+ run_state_machine_as_test (mk_test_instance_sync ) # type: ignore[no-untyped-call]
27
27
28
28
29
29
def test_zarr_store (sync_store : Store ) -> None :
30
- def mk_test_instance_sync () -> None :
30
+ def mk_test_instance_sync () -> ZarrStoreStateMachine :
31
31
return ZarrStoreStateMachine (sync_store )
32
32
33
33
if isinstance (sync_store , ZipStore ):
@@ -38,4 +38,4 @@ def mk_test_instance_sync() -> None:
38
38
# It assumes that `set` and `delete` are the only two operations that modify state.
39
39
# But LocalStore, directories can hang around even after a key is delete-d.
40
40
pytest .skip (reason = "Test isn't suitable for LocalStore." )
41
- run_state_machine_as_test (mk_test_instance_sync )
41
+ run_state_machine_as_test (mk_test_instance_sync ) # type: ignore[no-untyped-call]
You can’t perform that action at this time.
0 commit comments