jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/509636 )
Change subject: [cleanup] Count unexpected success as failure ......................................................................
[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(-)
Approvals: D3r1ck01: Looks good to me, approved jenkins-bot: Verified
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):
pywikibot-commits@lists.wikimedia.org