'If tests raise the ``SkipTest`` exported by Trial, then that\'s
recorded as a skip.'

@given(base_test_cases, text(average_size=30))
def test_trial_skip_exception(self, base_test_case, reason):

    class SkippingTest(base_test_case, ):
        def test_skip(self):
            raise unittest.SkipTest(reason)
    test = SkippingTest('test_skip')
    result = run_test(test)
    self.assertThat(result, only_skips(1, [reason]))
