'Deal with failures by instantly re-raising them for easier debugging.'

def unhandledError(self, failure):

    self.expectedErrors -= 1
    if (self.expectedErrors < 0):
        failure.raiseException()
    else:
        self.unhandledErrors.append(failure)
