void () { final Map<String, PsiElement> test = loadTest(2); // Long non-current type hints should be replaced with shorter annotation feignCtrlP(test.get("<arg1>").getTextOffset()).check( "file: str | bytes | PathLike[str] | PathLike[bytes] | int, mode: OpenTextMode, buffering: int = ...", new String[]{"file: str | bytes | PathLike[str] | PathLike[bytes] | int, "}); feignCtrlP(test.get("<arg2>").getTextOffset()).check( "file: _OpenFile, mode: Literal[\"w\", \"wt\", \"tw\", \"a\", \"at\", \"ta\", \"x\", \"xt\", \"tx\", \"r\", \"rt\", \"tr\", " + "\"U\"] = ..., buffering: int = ...", new String[]{ "mode: Literal[\"w\", \"wt\", \"tw\", \"a\", \"at\", \"ta\", \"x\", \"xt\", \"tx\", \"r\", \"rt\", \"tr\", \"U\"] = ..., "}); }