'Ensure that expected failures are handled properly.'

def test_expectedFailures(self):

    self.suite(self.reporter)
    expectedReasons = ['method', 'class']
    reasonsGiven = [r.reason for (t, e, r) in self.reporter.expectedFailures]
    self.assertEqual(expectedReasons, reasonsGiven)
