void () { final PyFile file = getTestFile(); final PyClass c = file.findTopLevelClass("C"); assertNotNull(c); final PyTargetExpression foo = c.findClassAttribute("foo", false, null); final String docString = foo.getDocStringValue(); assertEquals("Foo docstring.", docString); }