Skip to content
Prev Previous commit
Next Next commit
small fixes
  • Loading branch information
lindseynield committed Sep 18, 2024
commit 2ad8b789addadfc80894e911f1a8b27d23e993c7
12 changes: 6 additions & 6 deletions src/zarr/api/asynchronous.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,12 +694,12 @@ async def create(
else:
chunk_shape = shape

# if order is not None:
# warnings.warn(
# "order is deprecated, use config `array.order` instead",
# DeprecationWarning,
# stacklevel=2,
# )
if order is not None:
warnings.warn(
"order is deprecated, use config `array.order` instead",
DeprecationWarning,
stacklevel=2,
)
if synchronizer is not None:
warnings.warn("synchronizer is not yet implemented", RuntimeWarning, stacklevel=2)
if chunk_store is not None:
Expand Down
2 changes: 1 addition & 1 deletion tests/v3/test_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def test_group_array_creation(

empty_like_array = group.empty_like(empty_array)
assert isinstance(empty_like_array, Array)
assert empty_array.fill_value == 0
assert empty_like_array.fill_value == 0

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