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

        test = SkipTest('test_skip')
        result = pyunit.TestResult()
        test.run(result)
        self.assertEqual(result.skipped, [(test, "skippy")])

        Skips using pyunit'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