def test_exceptionSkip(self):
        try:
            1/0
        except Exception as e:
            error = e
        self.result.addSkip(self.test, error)
        self.result.done()
        output = '\n'.join(self.stream.getvalue().splitlines()[3:5]).strip()
        self.assertEqual(output, str(error))
Skips can be raised as errors. When this happens, the error is
dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/SkipTests.test_exceptionSkip