Skip to content

Commit cdf7fec

Browse files
committed
Clarified statement about Unpack for < 3.12
1 parent 1ef3e00 commit cdf7fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test_typing_extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7469,7 +7469,7 @@ def test_type_params_possibilities(self):
74697469
# Only type params are accepted
74707470
((1,), "Expected a type param, got 1"),
74717471
((str,), f"Expected a type param, got {str!r}"),
7472-
# Unpack backport behaves like TypeVar in some cases
7472+
# Unpack is not a TypeVar but isinstance(Unpack[Ts], TypeVar) is True in Python < 3.12
74737473
((Unpack[Ts],), f"Expected a type param, got {re.escape(repr(Unpack[Ts]))}"),
74747474
]
74757475

0 commit comments

Comments
 (0)