void () { final PyFile file = getTestFile(); final PyClass pyClass = file.findTopLevelClass("Class"); final PyClassStub stub = pyClass.getStub(); assertNotNull(stub); final List<String> genericBases = stub.getSuperClassesText(); assertContainsOrdered(genericBases, "Generic[T, V]", "BaseClass1", "SomeModule.SomeClass"); assertNotParsed(file); }