'Some versions of subunit don\'t have "addSkip". For these versions, we
report skips as successes.'

def test_subunitWithoutAddSkipInstalled(self):

    self.removeMethod(reporter.TestProtocolClient, 'addSkip')
    self.result.addSkip(self.test, 'reason')
    skipOutput = self.stream.getvalue()
    self.stream.truncate(0)
    self.stream.seek(0)
    self.result.addSuccess(self.test)
    successOutput = self.stream.getvalue()
    self.assertEqual(successOutput, skipOutput)
