void () { doTestByText(""" from typing import ParamSpec, Callable, TypeVar P = ParamSpec('P') T = TypeVar('T') def caller(f: Callable[P, T], *args: P.args, **kwargs: P.kwargs): f(*args, **kwargs) def func(foo: int) -> None: pass caller(func, <warning descr="Unexpected argument (from ParamSpec 'P')">bar=42</warning><warning descr="Parameter 'foo' unfilled (from ParamSpec 'P')">)</warning>"""); }