'Report that the given test succeeded against expectations.
In Trial, tests can be marked \'todo\'. That is, they are expected to
fail.  When a test that is expected to fail instead succeeds, it should
call this method to report the unexpected success.
@type test: L{pyunit.TestCase}
@type todo: L{unittest.Todo}, or L{None}, in which case a default todo
message is provided.'

def addUnexpectedSuccess(self, test, todo=None):

    if (todo is None):
        todo = makeTodo(self._DEFAULT_TODO)
    self.unexpectedSuccesses.append((test, todo))
