Skip to content

Commit 15f5ba6

Browse files
committed
Update tests to pass
1 parent 160524d commit 15f5ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/check-typevar-tuple.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2381,7 +2381,7 @@ def func(x: Array[Unpack[Ts]], *args: Unpack[Ts]) -> Tuple[Unpack[Ts]]:
23812381
...
23822382

23832383
def a2(x: Array[int, str]) -> None:
2384-
reveal_type(func(x, 2, "Hello")) # N: Revealed type is "Tuple[Literal[2]?, Literal['Hello']?]"
2384+
reveal_type(func(x, 2, "Hello")) # N: Revealed type is "Tuple[builtins.int, builtins.str]"
23852385
reveal_type(func(x, 2)) # N: Revealed type is "Tuple[Literal[2]?]" \
23862386
# E: Argument 1 to "func" has incompatible type "Array[int, str]"; expected "Array[int]"
23872387
reveal_type(func(x, 2, "Hello", True)) # N: Revealed type is "Tuple[Literal[2]?, Literal['Hello']?, Literal[True]?]" \

0 commit comments

Comments
 (0)