Skip to content

Commit 3dc01e1

Browse files
update for testRunParamSpecConcatenateInsufficientArgs
1 parent d4d893c commit 3dc01e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/check-parameter-specification.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2248,7 +2248,7 @@ def fn_args(x: int, y: str) -> None: ...
22482248
def fn_posonly(x: int, /) -> None: ...
22492249
def fn_posonly_args(x: int, /, y: str) -> None: ...
22502250

2251-
run(fn) # E: Argument 1 to "run" has incompatible type "Callable[[], None]"; expected "Callable[[int], None]"
2251+
run(fn) # E: Argument 1 to "run" has incompatible type "() -> None"; expected "(int) -> None"
22522252
run(fn_args, 1, 'a') # E: Too many arguments for "run" \
22532253
# E: Argument 2 to "run" has incompatible type "int"; expected "str"
22542254
run(fn_args, y='a')

0 commit comments

Comments
 (0)