In main, an exception message refers to the path attribute of a Zarr store, but for zarr.storage.MemoryStore there is no path attribute. Not great that the Zarr store API is ... textured like this. This PR fixes this by changing the error message, and adds tests for the expected behavior. I also took some liberty to tweak type hints, and convert some lists to tuples in the tests.
In
main
, an exception message refers to thepath
attribute of a Zarr store, but forzarr.storage.MemoryStore
there is nopath
attribute. Not great that the Zarr store API is ... textured like this. This PR fixes this by changing the error message, and adds tests for the expected behavior. I also took some liberty to tweak type hints, and convert some lists to tuples in the tests.