@@ -155,7 +155,7 @@ def test_group_members(store: Store, zarr_format: ZarrFormat, consolidated_metad
155155    subsubsubgroup  =  subsubgroup .create_group ("subsubsubgroup" )
156156
157157    members_expected ["subarray" ] =  group .create_array (
158-         "subarray" , shape = (100 ,), dtype = "uint8" , chunk_shape = (10 ,), overwrite = True 
158+         "subarray" , shape = (100 ,), dtype = "uint8" , chunks = (10 ,), overwrite = True 
159159    )
160160    # add an extra object to the domain of the group. 
161161    # the list of children should ignore this object. 
@@ -226,9 +226,7 @@ def test_group(store: Store, zarr_format: ZarrFormat) -> None:
226226
227227    # create an array from the "bar" group 
228228    data  =  np .arange (0 , 4  *  4 , dtype = "uint16" ).reshape ((4 , 4 ))
229-     arr  =  bar .create_array (
230-         "baz" , shape = data .shape , dtype = data .dtype , chunk_shape = (2 , 2 ), overwrite = True 
231-     )
229+     arr  =  bar .create_array ("baz" , shape = data .shape , dtype = data .dtype , chunks = (2 , 2 ), overwrite = True )
232230    arr [:] =  data 
233231
234232    # check the array 
@@ -312,10 +310,8 @@ def test_group_getitem(store: Store, zarr_format: ZarrFormat, consolidated: bool
312310
313311    group  =  Group .from_store (store , zarr_format = zarr_format )
314312    subgroup  =  group .create_group (name = "subgroup" )
315-     subarray  =  group .create_array (name = "subarray" , shape = (10 ,), chunk_shape = (10 ,), dtype = "uint8" )
316-     subsubarray  =  subgroup .create_array (
317-         name = "subarray" , shape = (10 ,), chunk_shape = (10 ,), dtype = "uint8" 
318-     )
313+     subarray  =  group .create_array (name = "subarray" , shape = (10 ,), chunks = (10 ,), dtype = "uint8" )
314+     subsubarray  =  subgroup .create_array (name = "subarray" , shape = (10 ,), chunks = (10 ,), dtype = "uint8" )
319315
320316    if  consolidated :
321317        group  =  zarr .api .synchronous .consolidate_metadata (store = store , zarr_format = zarr_format )
@@ -392,7 +388,7 @@ def test_group_delitem(store: Store, zarr_format: ZarrFormat, consolidated: bool
392388
393389    group  =  Group .from_store (store , zarr_format = zarr_format )
394390    subgroup  =  group .create_group (name = "subgroup" )
395-     subarray  =  group .create_array (name = "subarray" , shape = (10 ,), chunk_shape = (10 ,), dtype = "uint8" )
391+     subarray  =  group .create_array (name = "subarray" , shape = (10 ,), chunks = (10 ,), dtype = "uint8" )
396392
397393    if  consolidated :
398394        group  =  zarr .api .synchronous .consolidate_metadata (store = store , zarr_format = zarr_format )
@@ -500,7 +496,7 @@ def test_group_child_iterators(store: Store, zarr_format: ZarrFormat, consolidat
500496                    "shape" : (1 ,),
501497                    "chunks" : (1 ,),
502498                    "order" : "C" ,
503-                     "filters" : () ,
499+                     "filters" : None ,
504500                    "compressor" : Zstd (level = 0 ),
505501                    "zarr_format" : zarr_format ,
506502                },
0 commit comments