File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 3939)
4040from zarr .core .buffer import NDArrayLike
4141from zarr .errors import MetadataValidationError
42- from zarr .storage import MemoryStore , ZipStore
42+ from zarr .storage import MemoryStore
4343from zarr .storage ._utils import normalize_path
4444from zarr .testing .utils import gpu_test
4545
@@ -400,17 +400,6 @@ def test_load_array(sync_store: Store) -> None:
400400 else :
401401 assert_array_equal (bar , array )
402402
403- def test_load_zip (tmp_path : pathlib .Path ) -> None :
404- file = tmp_path / "test.zip"
405- # Create a zip file with some data
406- with ZipStore (file , mode = "w" , read_only = False ) as zs :
407- save (zs , np .arange (100 ).reshape (10 , 10 ), path = "data" )
408- with ZipStore (file , mode = "r" , read_only = False ) as zs :
409- data = zarr .load (store = zs , path = "data" ) # This works
410- print (data .shape )
411- with ZipStore (file , mode = "r" ) as zs :
412- data = zarr .load (store = zs , path = "data" ) # This does not work
413- print (data .shape )
414403
415404def test_tree () -> None :
416405 pytest .importorskip ("rich" )
You can’t perform that action at this time.
0 commit comments