def print_label_patch(result):
 return make_instancemethod(TextTestResult.printLabel, result)

def print_label_patch ( result ) : return make_instancemethod ( TextTestResult . printLabel , result )
create a new printlabel method that prints errorclasses items as well .