Skip to content

Commit 79a45b1

Browse files
committed
fix merge
1 parent a675475 commit 79a45b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/zarr/api/asynchronous.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import numpy.typing as npt
1010
from typing_extensions import deprecated
1111

12+
from zarr import config
1213
from zarr.core.array import Array, AsyncArray, create_array, get_array_metadata
1314
from zarr.core.array_spec import ArrayConfig, ArrayConfigLike
1415
from zarr.core.buffer import NDArrayLike
@@ -554,7 +555,7 @@ async def array(
554555

555556
new_array = await create(data.shape, **kwargs)
556557

557-
async def _copy_chunk(chunk_coords: ChunkCoords|slice) -> None:
558+
async def _copy_chunk(chunk_coords: ChunkCoords | slice) -> None:
558559
arr = await data._async_array.getitem(chunk_coords)
559560
await new_array.setitem(chunk_coords, arr)
560561

tests/test_array.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import numcodecs
1010
import numpy as np
1111
import pytest
12-
from numcodecs import Zstd
1312
from numpy.ma.testutils import assert_array_equal
1413

1514
import zarr.api.asynchronous

0 commit comments

Comments
 (0)