def test_standardLibraryCompatibilitySuccess(self):
        class Test(StdlibTestCase):
            @expectedFailure
            def test_success(self):
                pass

        test = Test('test_success')
        test.run(self.result)
        self.assertEqual(len(self._getUnexpectedSuccesses(self.result)), 1)
Tests that use the standard library C{expectedFailure} feature worth
dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/TodoTests.test_standardLibraryCompatibilitySuccess