'Tests that use the standard library C{expectedFailure} feature worth
with Trial reporters.'

def test_standardLibraryCompatibilityFailure(self):

    class Test(StdlibTestCase, ):
        @expectedFailure
        def test_fail(self):
            self.fail('failure')
    test = Test('test_fail')
    test.run(self.result)
    self.assertEqual(len(self._getTodos(self.result)), 1)
