def add_skip_patch(result):
 return make_instancemethod(TextTestResult.addSkip, result)

def add_skip_patch ( result ) : return make_instancemethod ( TextTestResult . addSkip , result )
create a new addskip method to patch into a result instance that delegates to adderror .