Skip to content

Commit 243ee1b

Browse files
Multiple imports for an import name (#2361)
1 parent 016ec25 commit 243ee1b

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

src/zarr/abc/store.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
from abc import ABC, abstractmethod
44
from asyncio import gather
5-
from collections.abc import AsyncGenerator, Iterable
65
from types import TracebackType
7-
from typing import TYPE_CHECKING, Any, NamedTuple, Protocol, runtime_checkable
6+
from typing import TYPE_CHECKING, NamedTuple, Protocol, runtime_checkable
87

98
if TYPE_CHECKING:
109
from collections.abc import AsyncGenerator, Iterable

src/zarr/api/asynchronous.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
from zarr.abc.store import Store
1212
from zarr.core.array import Array, AsyncArray, get_array_metadata
13-
from zarr.core.buffer import NDArrayLike
14-
from zarr.core.chunk_key_encodings import ChunkKeyEncoding
1513
from zarr.core.common import (
1614
JSON,
1715
AccessModeLiteral,

src/zarr/storage/logging.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from typing import TYPE_CHECKING, Any, Self
99

1010
from zarr.abc.store import AccessMode, ByteRangeRequest, Store
11-
from zarr.core.buffer import Buffer
1211

1312
if TYPE_CHECKING:
1413
from collections.abc import AsyncGenerator, Generator, Iterable

tests/v3/test_indexing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,6 @@ async def test_accessed_chunks(
17691769
# chunks: chunk size
17701770
# ops: list of tuples with (optype, tuple of slices)
17711771
# optype = "__getitem__" or "__setitem__", tuple length must match number of dims
1772-
import itertools
17731772

17741773
# Use a counting dict as the backing store so we can track the items access
17751774
store = await CountingDict.open()

0 commit comments

Comments
 (0)