@@ -3944,47 +3944,50 @@ async def test_concurrent_load_multiple_objects(
39443944 @pytest .mark .parametrize (
39453945 "indexer, method, target_zarr_class" ,
39463946 [
3947- ({}, "sel" , "zarr.AsyncArray" ),
3948- ({}, "isel" , "zarr.AsyncArray" ),
3949- ({"dim2" : 1.0 }, "sel" , "zarr.AsyncArray" ),
3950- ({"dim2" : 2 }, "isel" , "zarr.AsyncArray" ),
3951- ({"dim2" : slice (1.0 , 3.0 )}, "sel" , "zarr.AsyncArray" ),
3952- ({"dim2" : slice (1 , 3 )}, "isel" , "zarr.AsyncArray" ),
3953- (
3947+ pytest .param ({}, "sel" , "zarr.AsyncArray" , id = "no-indexing-sel" ),
3948+ pytest .param ({}, "isel" , "zarr.AsyncArray" , id = "no-indexing-isel" ),
3949+ pytest .param ({"dim2" : 1.0 }, "sel" , "zarr.AsyncArray" , id = "basic-int-sel" ),
3950+ pytest .param ({"dim2" : 2 }, "isel" , "zarr.AsyncArray" , id = "basic-int-isel" ),
3951+ pytest .param (
3952+ {"dim2" : slice (1.0 , 3.0 )},
3953+ "sel" ,
3954+ "zarr.AsyncArray" ,
3955+ id = "basic-slice-sel" ,
3956+ ),
3957+ pytest .param (
3958+ {"dim2" : slice (1 , 3 )}, "isel" , "zarr.AsyncArray" , id = "basic-slice-isel"
3959+ ),
3960+ pytest .param (
39543961 {"dim2" : [1.0 , 3.0 ]},
39553962 "sel" ,
39563963 "zarr.core.indexing.AsyncOIndex" ,
3964+ id = "outer-sel" ,
39573965 ),
3958- ({"dim2" : [1 , 3 ]}, "isel" , "zarr.core.indexing.AsyncOIndex" ),
3959- (
3966+ pytest .param (
3967+ {"dim2" : [1 , 3 ]},
3968+ "isel" ,
3969+ "zarr.core.indexing.AsyncOIndex" ,
3970+ id = "outer-isel" ,
3971+ ),
3972+ pytest .param (
39603973 {
39613974 "dim1" : xr .Variable (data = [2 , 3 ], dims = "points" ),
39623975 "dim2" : xr .Variable (data = [1.0 , 2.0 ], dims = "points" ),
39633976 },
39643977 "sel" ,
39653978 "zarr.core.indexing.AsyncVIndex" ,
3979+ id = "vectorized-sel" ,
39663980 ),
3967- (
3981+ pytest . param (
39683982 {
39693983 "dim1" : xr .Variable (data = [2 , 3 ], dims = "points" ),
39703984 "dim2" : xr .Variable (data = [1 , 3 ], dims = "points" ),
39713985 },
39723986 "isel" ,
39733987 "zarr.core.indexing.AsyncVIndex" ,
3988+ id = "vectorized-isel" ,
39743989 ),
39753990 ],
3976- ids = [
3977- "no-indexing-sel" ,
3978- "no-indexing-isel" ,
3979- "basic-int-sel" ,
3980- "basic-int-isel" ,
3981- "basic-slice-sel" ,
3982- "basic-slice-isel" ,
3983- "outer-sel" ,
3984- "outer-isel" ,
3985- "vectorized-sel" ,
3986- "vectorized-isel" ,
3987- ],
39883991 )
39893992 async def test_indexing (
39903993 self ,
0 commit comments