def test_trialSkip(self):
        """
        Skips using trial's skipping functionality are reported as skips in
        the L{pyunit.TestResult}.
        """
        class SkipTest(SynchronousTestCase):
            def test_skip(self):
                1/0
            test_skip.skip = "Let's skip!"

        test = SkipTest('test_skip')
        result = pyunit.TestResult()
        test.run(result)
        self.assertEqual(result.skipped, [(test, "Let's skip!")])

        Skips using trial's skipping functionality are reported as skips in
        the L{pyunit.TestResult}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/test/test_pyunitcompat.py