'Test methods which raise L{unittest.SkipTest} or have their C{skip}
attribute set to something are skipped.'

def test_reasons(self):

    self.suite(self.reporter)
    expectedReasons = ['class', 'skip2', 'class', 'class']
    reasonsGiven = [reason for (test, reason) in self.reporter.skips]
    self.assertEqual(expectedReasons, reasonsGiven)
