assertEquals(1, classes.size());
assertEquals(endLine, classes.get(0).endLine);
}
public void testFindStmtForNode() throws Exception {
Module ast = (Module) parseLegalDocStr("a=10;b=20;c=30");
Assign assign = (Assign) ast.body[1];
Name b = (Name) assign.targets[0];
assertSame(assign, NodeUtils.findStmtForNode(ast, b));
ast = (Module) parseLegalDocStr("a=10\nb=20\nc=30");