"def test(arg,attribute,a=10,b=20,*args,**kwargs):\n"
+
" Parent.test(arg,attribute,a=a,b=b,*args,**kwargs)\n" +
"";
Module module = (Module) parseLegalDocStr(base);
FunctionDef functionDef = (FunctionDef) module.body[0];
FunctionDef createdFunctionDef = astFactory.createFunctionDef("test");
createdFunctionDef.args = functionDef.args.createCopy();
astFactory.setBody(createdFunctionDef, astFactory.createOverrideBody(functionDef, "Parent", "Current"));
checkExpected(createdFunctionDef, expected);