def test_adds_skip(self):
        result = self._make_one()
        try:
            result.addSkip(FakeTestCase(), 'a reason')
            self.assertEqual(
                len(result.tracker._test_cases['FakeTestCase']), 1)
        except __HOLE__:
            self.assertTrue(True, 'Python 2.6 does not support skip.')
dataset/ETHPy150Open mblayman/tappy/tap/tests/test_result.py/TestTAPTestResult.test_adds_skip