'Some versions of subunit have "addSkip". For these versions, when we
call \'addSkip\' on the test result, we pass the test and reason through
to the subunit client.'

def test_addSkipSendsSubunitAddSkip(self):

    addSkipCalls = []
    def addSkip(test, reason):
        addSkipCalls.append((test, reason))
    self.result._subunit.addSkip = addSkip
    self.result.addSkip(self.test, 'reason')
    self.assertEqual(addSkipCalls, [(self.test, 'reason')])
