Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
change mode
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNicholas committed Sep 27, 2024
1 parent 6abe32d commit 93080b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtualizarr/tests/test_writers/test_icechunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async def icechunk_filestore(tmpdir) -> "IcechunkStore":
from icechunk import IcechunkStore, StorageConfig

storage = StorageConfig.filesystem(str(tmpdir))
store = await IcechunkStore.open(storage=storage, mode="r+")
store = await IcechunkStore.open(storage=storage, mode="w")

# TODO instead yield store then store.close() ??
return store
Expand Down

0 comments on commit 93080b3

Please sign in to comment.