[Test] Fix failure count to include Python tests which report 'ERROR'
This commit is contained in:
parent
3c703eb4ed
commit
e7944771c5
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class TestResult(unittest.TextTestResult):
|
|||
self.outfile.write('FAIL: %s\n' % test)
|
||||
unittest.TextTestResult.addFailure(self, test, err)
|
||||
|
||||
def addFailure(self, test, err):
|
||||
def addError(self, test, err):
|
||||
self.outfile.write('ERROR: %s\n' % test)
|
||||
unittest.TextTestResult.addFailure(self, test, err)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue