We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92844f commit bc3db3dCopy full SHA for bc3db3d
1 file changed
test-data/unit/check-type-aliases.test
@@ -1245,8 +1245,8 @@ Ts = TypeVarTuple('Ts')
1245
1246
TA: TypeAlias = tuple[Unpack[Ts]]
1247
1248
-v1: TA[*list[int]] # E: Invalid syntax...
1249
-v2: TA[Unpack[list[int]]] # E: Invalid syntax...
+v1: TA[*list[int]] # E: "list[int]" cannot be unpacked (must be tuple or TypeVarTuple)
+v2: TA[Unpack[list[int]]] # E: "list[int]" cannot be unpacked (must be tuple or TypeVarTuple)
1250
[builtins fixtures/tuple.pyi]
1251
1252
[case testAliasInstanceNameClash]
0 commit comments