8000 small fixes · zarr-developers/zarr-python@2ad8b78 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ad8b78

Browse files
committed
small fixes
1 parent 8ee9e19 commit 2ad8b78

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/zarr/api/asynchronous.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -694,12 +694,12 @@ async def create(
694694
else:
695695
chunk_shape = shape
696696

697-
# if order is not None:
698-
# warnings.warn(
699-
# "order is deprecated, use config `array.order` instead",
700-
# DeprecationWarning,
701-
# stacklevel=2,
702-
# )
697+
if order is not None:
698+
warnings.warn(
699+
"order is deprecated, use config `array.order` instead",
700+
DeprecationWarning,
701+
stacklevel=2,
702+
)
703703
if synchronizer is not None:
704704
warnings.warn("synchronizer is not yet implemented", RuntimeWarning, stacklevel=2)
705705
if chunk_store is not None:

tests/v3/test_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def test_group_array_creation(
403403

404404
empty_like_array = group.empty_like(empty_array)
405405
assert isinstance(empty_like_array, Array)
406-
assert empty_array.fill_value == 0
406+
assert empty_like_array.fill_value == 0
407407

408408
empty_array_bool = group.empty(shape=shape, dtype=np.dtype("bool"))
409409
assert isinstance(empty_array_bool, Array)

0 commit comments

Comments
 (0)
0