void () { final PyFile file = (PyFile)myFixture.configureByFile("resolve/" + getTestName(false) + ".py"); final TypeEvalContext context = TypeEvalContext.codeAnalysis(myFixture.getProject(), file); final PyFunction function = file.findTopLevelClass("A").findInitOrNew(false, context); assertNotNull(function); assertFalse(PyiUtil.isOverload(function, context)); }