def run(self, result=None): if result is None: result = TestResult() result.startTest(self) result.addError(self, self._error) result.stopTest(self)
def run(self, result=None): if result is None: result = TestResult() result.startTest(self) result.addSuccess(self) result.stopTest(self)