jenkins-bot merged this change.
[cleanup] Count unexpected success as failure
Restore the default behavior, see T223030
Change-Id: Iec886c2aebd2f2dde124e772f5dc93903d11dc26
---
M tests/aspects.py
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/tests/aspects.py b/tests/aspects.py
index 05fe85f..4b94586 100644
--- a/tests/aspects.py
+++ b/tests/aspects.py
@@ -126,12 +126,6 @@
msg, 'len(%s) != %s' % (safe_repr(seq), second_len))
raise self.failureException(msg)
- def _addUnexpectedSuccess(self, result):
- """Report and ignore."""
- unittest_print(' unexpected success ', end='')
- sys.stdout.flush()
- result.addSuccess(self)
-
def assertMethod(self, method, *args):
"""Generic method assertion."""
if not method(*args):
To view, visit change 509636. To unsubscribe, or for help writing mail filters, visit settings.