def test_exceptionTodo(self):
        try:
            1/0
        except Exception as e:
            error = e
        self.result.addExpectedFailure(self.test, Failure(error),
                                       makeTodo("todo!"))
        self.result.done()
        output = '\n'.join(self.stream.getvalue().splitlines()[3:]).strip()
        self.assertTrue(str(error) in output)
The exception for expected failures should be shown in the
dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/TodoTests.test_exceptionTodo