def __init__(self, reason, errors=None):
        """
        @param reason: A string explaining why the test is marked 'todo'

        @param errors: An iterable of exception types that the test is
        expected to raise. If one of these errors is raised by the test, it
        will be trapped. Raising any other kind of error will fail the test.
        If L{None} is passed, then all errors will be trapped.
        """
        self.reason = reason
        self.errors = errors

        @param reason: A string explaining why the test is marked 'todo'

        @param errors: An iterable of exception types that the test is
        expected to raise. If one of these errors is raised by the test, it
        will be trapped. Raising any other kind of error will fail the test.
        If L{None} is passed, then all errors will be trapped.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/_synctest.py