'See L{itrial.IReporter}.
@type test: A L{pyunit.TestCase}.
@type failure: A L{failure.Failure} or L{exceptions.AssertionError}
@type todo: A L{unittest.Todo} or None
When C{todo} is L{None} a generic C{unittest.Todo} is built.
L{pyunit.TestCase}\'s C{run()} calls this with 3 positional arguments
(without C{todo}).'

def addExpectedFailure(self, test, failure, todo=None):

    return self._originalReporter.addExpectedFailure(self.testAdapter(test), failure, todo)
