diff --git a/pytypest/_case.py b/pytypest/_case.py index 41196c5..663b920 100644 --- a/pytypest/_case.py +++ b/pytypest/_case.py @@ -2,6 +2,7 @@ import dataclasses from typing import Any, Generic, TypeVar + from typing_extensions import ParamSpec diff --git a/pytypest/_fixture.py b/pytypest/_fixture.py index 0708c01..ece0b6c 100644 --- a/pytypest/_fixture.py +++ b/pytypest/_fixture.py @@ -4,6 +4,7 @@ from dataclasses import dataclass, field from enum import Enum from typing import Callable, Generic, Iterator, Literal, TypeVar + from typing_extensions import ParamSpec from ._manager import defer diff --git a/pytypest/_fixture_factory.py b/pytypest/_fixture_factory.py index 1151742..bee3625 100644 --- a/pytypest/_fixture_factory.py +++ b/pytypest/_fixture_factory.py @@ -9,6 +9,7 @@ if TYPE_CHECKING: from typing import Callable, Iterator, Literal, TypeVar + from typing_extensions import ParamSpec R = TypeVar('R') diff --git a/pytypest/_parametrize.py b/pytypest/_parametrize.py index 1e3fdbd..5629868 100644 --- a/pytypest/_parametrize.py +++ b/pytypest/_parametrize.py @@ -2,9 +2,9 @@ import inspect from typing import TYPE_CHECKING, Callable -from typing_extensions import ParamSpec import pytest +from typing_extensions import ParamSpec from ._case import Case diff --git a/pytypest/experimental/_attr.py b/pytypest/experimental/_attr.py index 6ba7dfe..a9591b7 100644 --- a/pytypest/experimental/_attr.py +++ b/pytypest/experimental/_attr.py @@ -2,6 +2,7 @@ from dataclasses import dataclass from typing import TYPE_CHECKING, Any, Generic, TypeVar, overload + from typing_extensions import ParamSpec