void () { final PsiFile file = myFixture.configureByText("a.py", ""); final PyPsiFacade facade = PyPsiFacade.getInstance(myFixture.getProject()); final PyClass builtinInt = facade.createClassByQName("int", file); assertNotNull(builtinInt); assertTrue(PyBuiltinCache.getInstance(file).isBuiltin(builtinInt)); }