@@ -137,7 +137,7 @@ async def test_array_like_creation(
137137 kwargs ["fill_value" ] = out_fill
138138 expect_fill = out_fill
139139 elif func is zarr .api .asynchronous .open_like : # type: ignore[comparison-overlap]
140- if out_fill == "keep" :
140+ if out_fill == "keep" : # type: ignore[unreachable]
141141 expect_fill = ref_fill
142142 else :
143143 kwargs ["fill_value" ] = out_fill
@@ -161,7 +161,7 @@ async def test_array_like_creation(
161161 else :
162162 expect_dtype = ref_arr .dtype # type: ignore[assignment]
163163
164- new_arr = await func (ref_arr , path = "foo" , zarr_format = zarr_format , ** kwargs ) # type: ignore[call-arg]
164+ new_arr = await func (ref_arr , path = "foo" , zarr_format = zarr_format , ** kwargs )
165165 assert new_arr .shape == expect_shape
166166 assert new_arr .chunks == expect_chunks
167167 assert new_arr .dtype == expect_dtype
@@ -187,7 +187,7 @@ def test_create_array(store: Store, zarr_format: ZarrFormat) -> None:
187187 array_w [:] = data_val
188188 assert array_w .shape == shape
189189 assert array_w .attrs == attrs
190- assert np .array_equal (array_w [:], np .zeros (shape , dtype = array_w .dtype ) + data_val )
190+ assert np .array_equal (array_w [:], np .zeros (shape , dtype = array_w .dtype ) + data_val ) # type: ignore[unreachable]
191191
192192
193193@pytest .mark .parametrize ("write_empty_chunks" , [True , False ])
@@ -326,7 +326,7 @@ async def test_create_group(store: Store, zarr_format: ZarrFormat) -> None:
326326 node = create_group (store , path = path , attributes = attrs , zarr_format = zarr_format )
327327 assert isinstance (node , Group )
328328 assert node .attrs == attrs
329- assert node .metadata .zarr_format == zarr_format
329+ assert node .metadata .zarr_format == zarr_format # type: ignore[unreachable]
330330
331331
332332async def test_open_group (memory_store : MemoryStore ) -> None :
0 commit comments