From edbcb010fa421ea4d59b9eb638ac30c72d2ec87b Mon Sep 17 00:00:00 2001 From: mosgeo Date: Fri, 11 Jul 2025 16:08:32 +0300 Subject: [PATCH] add missing quote symbol in the dictionary syntax --- src/zarr/core/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zarr/core/common.py b/src/zarr/core/common.py index a5ef7aeb7a..e86347d808 100644 --- a/src/zarr/core/common.py +++ b/src/zarr/core/common.py @@ -195,7 +195,7 @@ def _warn_write_empty_chunks_kwarg() -> None: msg = ( "The `write_empty_chunks` keyword argument is deprecated and will be removed in future versions. " "To control whether empty chunks are written to storage, either use the `config` keyword " - "argument, as in `config={'write_empty_chunks: True}`," + "argument, as in `config={'write_empty_chunks': True}`," "or change the global 'array.write_empty_chunks' configuration variable." ) warnings.warn(msg, RuntimeWarning, stacklevel=2) @@ -206,7 +206,7 @@ def _warn_order_kwarg() -> None: msg = ( "The `order` keyword argument has no effect for Zarr format 3 arrays. " "To control the memory layout of the array, either use the `config` keyword " - "argument, as in `config={'order: 'C'}`," + "argument, as in `config={'order': 'C'}`," "or change the global 'array.order' configuration variable." ) warnings.warn(msg, RuntimeWarning, stacklevel=2)