Skip to content

Commit 9ff9e3e

Browse files
Multiple imports for an import name
1 parent ea4d7e9 commit 9ff9e3e

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

tests/package_with_entrypoint/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from typing import TYPE_CHECKING, Any, Literal, Self
3+
from typing import TYPE_CHECKING
44

55
import numpy as np
66
import numpy.typing as npt
@@ -14,7 +14,7 @@
1414

1515
if TYPE_CHECKING:
1616
from collections.abc import Iterable
17-
from typing import ClassVar, Literal
17+
from typing import Any, ClassVar, Literal, Self
1818

1919
from zarr.core.array_spec import ArraySpec
2020
from zarr.core.common import ZarrFormat

tests/test_api.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import annotations
22

33
import inspect
4-
import pathlib
54
import re
65
from typing import TYPE_CHECKING
76

@@ -46,10 +45,6 @@
4645
from zarr.storage._utils import normalize_path
4746
from zarr.testing.utils import gpu_test
4847

49-
if TYPE_CHECKING:
50-
from collections.abc import Callable
51-
from pathlib import Path
52-
5348

5449
def test_create(memory_store: Store) -> None:
5550
store = memory_store

0 commit comments

Comments
 (0)