def test_doctestError(self):
        from twisted.trial.test import erroneous
        suite = unittest.decorate(
            self.loader.loadDoctests(erroneous), itrial.ITestCase)
        output = self.getOutput(suite)
        path = 'twisted.trial.test.erroneous.unexpectedException'
        for substring in ['1/0', 'ZeroDivisionError',
                          'Exception raised:', path]:
            self.assertSubstring(substring, output)
        self.assertTrue(re.search('Fail(ed|ure in) example:', output),
                        "Couldn't match 'Failure in example: ' "
                        "or 'Failed example: '")
        expect = [self.doubleSeparator,
                  re.compile(r'\[(ERROR|FAIL)\]')]
        self.stringComparison(expect, output.splitlines())
Returns a :class:`pyalgotrade.dataseries.DataSeries` for an extra column.
dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/ErrorReportingTests.test_doctestError--crossover with--dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/dataseries/bards.py/BarDataSeries.getExtraDataSeries