jenkins-bot merged this change.
[cleanup] expectedFailure is not counted as failing test
expectedFailure is not counted as failing test but listed separately
by default. Restore the default behavior.
Change-Id: I2f95448fab6fe8e09e236ddb45920f0cd6c2e8ad
---
M tests/aspects.py
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/tests/aspects.py b/tests/aspects.py
index 71f14e6..05fe85f 100644
--- a/tests/aspects.py
+++ b/tests/aspects.py
@@ -132,12 +132,6 @@
sys.stdout.flush()
result.addSuccess(self)
- def _addExpectedFailure(self, result, exc_info=None):
- """Report and ignore."""
- unittest_print(' expected failure ', end='')
- sys.stdout.flush()
- result.addSuccess(self)
-
def assertMethod(self, method, *args):
"""Generic method assertion."""
if not method(*args):
To view, visit change 509635. To unsubscribe, or for help writing mail filters, visit settings.