Skip to content

Commit 957cd64

Browse files
committed
Update expected warning
1 parent 737ff9b commit 957cd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_store/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,6 @@ def test_different_open_mode() -> None:
268268
zarr.create((100,), store=store, zarr_format=2, path="a")
269269
with pytest.warns(
270270
UserWarning,
271-
match="Store is not read-only but mode is 'r'. Attempting to create a read-only copy. This behavior may change in the future with a more granular permissions model.",
271+
match="Store is not read-only but mode is 'r'. Creating a read-only copy. This behavior may change in the future with a more granular permissions model",
272272
):
273273
zarr.open_array(store=store, path="a", zarr_format=2, mode="r")

0 commit comments

Comments
 (0)