def print_errors_patch(result):
 return make_instancemethod(TextTestResult.printErrors, result)

def print_errors_patch ( result ) : return make_instancemethod ( TextTestResult . printErrors , result )
create a new printerrors method that prints errorclasses items as well .