" A.__init__(self,arg)\n"
+
" self.attribute = attribute\n" +
"";
FunctionDef functionDef = astFactory.createFunctionDef("__init__");
functionDef.args = astFactory.createArguments(true, "arg", "attribute");
astFactory.setBody(functionDef, astFactory.createCall("A.__init__", "self", "arg"), astFactory.createAssign(
astFactory.createAttribute("self.attribute"), new Name("attribute", Name.Load, false)));
checkExpected(functionDef, expected);
}