@@ -61,7 +61,7 @@ async def test_consolidated(self, memory_store_with_hierarchy: Store) -> None:
6161 "name" : "default" ,
6262 },
6363 "codecs" : ({"configuration" : {"endian" : "little" }, "name" : "bytes" },),
64- "data_type" : np . dtype ( "float64" ) ,
64+ "data_type" : "float64" ,
6565 "fill_value" : np .float64 (0.0 ),
6666 "node_type" : "array" ,
6767 # "shape": (1, 2, 3),
@@ -217,7 +217,7 @@ def test_consolidated_sync(self, memory_store):
217217 "name" : "default" ,
218218 },
219219 "codecs" : ({"configuration" : {"endian" : "little" }, "name" : "bytes" },),
220- "data_type" : np . dtype ( "float64" ) ,
220+ "data_type" : "float64" ,
221221 "fill_value" : np .float64 (0.0 ),
222222 "node_type" : "array" ,
223223 # "shape": (1, 2, 3),
@@ -325,12 +325,6 @@ def test_consolidated_metadata_from_dict(self):
325325 data ["metadata" ] = {}
326326 ConsolidatedMetadata .from_dict (data )
327327
328- # invalid metadata
329- data ["metadata" ]["a" ] = {"node_type" : "array" , "zarr_format" : 3 }
330-
331- with pytest .raises (TypeError ):
332- ConsolidatedMetadata .from_dict (data )
333-
334328 def test_flatten (self ):
335329 array_metadata = {
336330 "attributes" : {},
@@ -339,7 +333,7 @@ def test_flatten(self):
339333 "name" : "default" ,
340334 },
341335 "codecs" : ({"configuration" : {"endian" : "little" }, "name" : "bytes" },),
342- "data_type" : np . dtype ( "float64" ) ,
336+ "data_type" : "float64" ,
343337 "fill_value" : np .float64 (0.0 ),
344338 "node_type" : "array" ,
345339 # "shape": (1, 2, 3),
0 commit comments