def _report_failure(self, out, test, example, got):
 s = self._checker.output_difference(example, got, self.optionflags)
 s = s.encode('raw_unicode_escape').decode('utf8', 'ignore')
 out((self._failure_header(test, example) + s))

def _report_failure ( self , out , test , example , got ) : s = self . _checker . output_difference ( example , got , self . optionflags ) s = s . encode ( 'raw_unicode_escape' ) . decode ( 'utf8' , 'ignore' ) out ( ( self . _failure_header ( test , example ) + s ) )
report that the given example failed .