def test_adds_unexpected_success(self):
        result = self._make_one()
        try:
            result.addUnexpectedSuccess(FakeTestCase())
            line = result.tracker._test_cases['FakeTestCase'][0]
            self.assertEqual(line.status, 'ok')
            self.assertEqual(line.directive, '(unexpected success)')
        except __HOLE__:
            self.assertTrue(
                True, 'Python 2.6 does not support unexpected success.')
dataset/ETHPy150Open mblayman/tappy/tap/tests/test_result.py/TestTAPTestResult.test_adds_unexpected_success