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):

--
To view, visit https://gerrit.wikimedia.org/r/509636
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iec886c2aebd2f2dde124e772f5dc93903d11dc26
Gerrit-Change-Number: 509636
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to