def test_addErrorSendsSubunitAddError(self):
        """
        SubunitReporter.addError() sends the subunit 'addError' message.
        """
        try:
            1 / 0
        except ZeroDivisionError:
            error = sys.exc_info()
        self.assertForwardsToSubunit('addError', self.test, error)

        SubunitReporter.addError() sends the subunit 'addError' message.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/test/test_reporter.py