Skip to content

Commit 9af938d

Browse files
JonathanPlasseZac-HD
authored andcommitted
Fix unimplemented default TypeVar argument in 3.13a4
1 parent d739e0d commit 9af938d

File tree

1 file changed

+2
-1
lines changed
  • hypothesis-python/src/hypothesis/strategies/_internal

1 file changed

+2
-1
lines changed

hypothesis-python/src/hypothesis/strategies/_internal/strategies.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
from hypothesis.strategies._internal.utils import defines_strategy
5353
from hypothesis.utils.conventions import UniqueIdentifier
5454

55-
if sys.version_info >= (3, 13):
55+
# TODO: Use `(3, 13)` once Python 3.13 is released.
56+
if sys.version_info >= (3, 13, 0, "final"):
5657
Ex = TypeVar("Ex", covariant=True, default=Any)
5758
elif TYPE_CHECKING:
5859
from typing_extensions import TypeVar # type: ignore[assignment]

0 commit comments

Comments
 (0)