Skip to content

Commit 62f2204

Browse files
authored
Update check-functions.test
1 parent f5551e0 commit 62f2204

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test-data/unit/check-functions.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2143,13 +2143,13 @@ class A:
21432143
def f(x, y, z): # type: (..., int) -> None
21442144
pass
21452145
[out]
2146-
main:1: error: Ellipses cannot accompany other argument types in function type signature
2146+
main:1: error: Ellipses cannot accompany other parameter types in function type signature
21472147

21482148
[case testEllipsisWithSomethingBeforeItFails]
21492149
def f(x, y, z): # type: (int, ...) -> None
21502150
pass
21512151
[out]
2152-
main:1: error: Ellipses cannot accompany other argument types in function type signature
2152+
main:1: error: Ellipses cannot accompany other parameter types in function type signature
21532153

21542154
[case testRejectCovariantArgument]
21552155
from typing import TypeVar, Generic

0 commit comments

Comments
 (0)