void (@NotNull PsiElement anchor) { final PsiElement member = PyPsiFacade.getInstance(anchor.getProject()).createClassByQName(PyTypingTypeProvider.NAMEDTUPLE, anchor); assertInstanceOf(member, PyClass.class); doTestUnsupportedNT( (typeFromAst, context) -> { assertInstanceOf(typeFromAst, PyClassType.class); assertEquals(member, ((PyClassType)typeFromAst).getPyClass()); } ); }