From e7944771c596a8d0a9e4da408753b2728cb2c375 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 24 Jan 2014 20:40:37 +0000 Subject: [PATCH] [Test] Fix failure count to include Python tests which report 'ERROR' --- test/python/runCythonTests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/python/runCythonTests.py b/test/python/runCythonTests.py index ed1ad965e..3bf7d96bb 100644 --- a/test/python/runCythonTests.py +++ b/test/python/runCythonTests.py @@ -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)