Skip to content

Commit aba4919

Browse files
maxrjonesdstansby
andauthored
Update src/zarr/storage/_common.py
Co-authored-by: David Stansby <[email protected]>
1 parent a42dc7c commit aba4919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/storage/_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async def open(cls, store: Store, path: str, mode: AccessModeLiteral | None = No
121121
"Store is not read-only but mode is 'r'. Creating a read-only copy. "
122122
"This behavior may change in the future with a more granular permissions model.",
123123
UserWarning,
124-
stacklevel=2,
124+
stacklevel=1,
125125
)
126126
self = await cls._create_open_instance(store.with_read_only(True), path)
127127
except NotImplementedError as e:

0 commit comments

Comments
 (0)