def _check_for_failure(self):
tc = len(self.received) - <NUM_LIT:1><EOL>if self.expected[tc] != self.received[tc]:<EOL><INDENT>_logger.error("<STR_LIT>", self.name, tc, self.expected[tc], self.received[tc])<EOL>self.fail()<EOL>return True<EOL><DEDENT>return False<EOL>
Check for failure with ordered tuples.