'Add an expected failure to the reporter.'

def addExpectedFailure(self, testName, error, todo):

    _todo = Todo(todo)
    self._result.addExpectedFailure(self._testCase, error, _todo)
    return {'success': True}
