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 @@ -356,14 +356,14 @@ module = [
356
356
" tests.test_store.test_core" ,
357
357
" tests.test_store.test_logging" ,
358
358
" tests.test_store.test_object" ,
359
+ " tests.test_store.test_stateful" ,
359
360
]
360
361
strict = false
361
362
362
363
# TODO: Move the next modules up to the strict = false section
363
364
# and fix the errors
364
365
[[tool .mypy .overrides ]]
365
366
module = [
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