Skip to content

Commit a236e1b

Browse files
authored
Merge branch 'main' into update-2874-release-note
2 parents be3e51a + ded59d9 commit a236e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zarr/core/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def _warn_write_empty_chunks_kwarg() -> None:
195195
msg = (
196196
"The `write_empty_chunks` keyword argument is deprecated and will be removed in future versions. "
197197
"To control whether empty chunks are written to storage, either use the `config` keyword "
198-
"argument, as in `config={'write_empty_chunks: True}`,"
198+
"argument, as in `config={'write_empty_chunks': True}`,"
199199
"or change the global 'array.write_empty_chunks' configuration variable."
200200
)
201201
warnings.warn(msg, RuntimeWarning, stacklevel=2)
@@ -206,7 +206,7 @@ def _warn_order_kwarg() -> None:
206206
msg = (
207207
"The `order` keyword argument has no effect for Zarr format 3 arrays. "
208208
"To control the memory layout of the array, either use the `config` keyword "
209-
"argument, as in `config={'order: 'C'}`,"
209+
"argument, as in `config={'order': 'C'}`,"
210210
"or change the global 'array.order' configuration variable."
211211
)
212212
warnings.warn(msg, RuntimeWarning, stacklevel=2)

0 commit comments

Comments
 (0)