@@ -827,20 +827,20 @@ def test_set_orthogonal_selection_1d(store: StorePath) -> None:
827827 _test_set_orthogonal_selection (v , a , z , selection )
828828
829829
830- def test_set_item_1d_last_two_chunks ():
830+ def test_set_item_1d_last_two_chunks (store : StorePath ):
831831 # regression test for GH2849
832- g = zarr .open_group ("foo.zarr" , zarr_format = 3 , mode = "w" )
832+ g = zarr .open_group (store = store , zarr_format = 3 , mode = "w" )
833833 a = g .create_array ("bar" , shape = (10 ,), chunks = (3 ,), dtype = int )
834834 data = np .array ([7 , 8 , 9 ])
835835 a [slice (7 , 10 )] = data
836836 np .testing .assert_array_equal (a [slice (7 , 10 )], data )
837837
838- z = zarr .open_group ("foo.zarr" , mode = "w" )
838+ z = zarr .open_group (store = store , mode = "w" )
839839 z .create_array ("zoo" , dtype = float , shape = ())
840840 z ["zoo" ][...] = np .array (1 ) # why doesn't [:] work?
841841 np .testing .assert_equal (z ["zoo" ][()], np .array (1 ))
842842
843- z = zarr .open_group ("foo.zarr" , mode = "w" )
843+ z = zarr .open_group (store = store , mode = "w" )
844844 z .create_array ("zoo" , dtype = float , shape = ())
845845 z ["zoo" ][...] = 1 # why doesn't [:] work?
846846 np .testing .assert_equal (z ["zoo" ][()], np .array (1 ))
0 commit comments