void () { final PyFile file1 = getTestFile("ancestorsWhenSuperClassImportedWithQName/a.py"); final PyFile file2 = getTestFile("ancestorsWhenSuperClassImportedWithQName/b.py"); final PyClass pyClass = file2.findTopLevelClass("B"); assertNotNull(pyClass); final Map<QualifiedName, QualifiedName> superClasses = pyClass.getStub().getSuperClasses(); assertEquals(1, superClasses.size()); assertEquals(QualifiedName.fromDottedString("A.A"), superClasses.get(QualifiedName.fromDottedString("A.A"))); assertNotParsed(file1); assertNotParsed(file2); }