jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/509635 )
Change subject: [cleanup] expectedFailure is not counted as failing test
......................................................................
[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(-)
Approvals:
D3r1ck01: Looks good to me, approved
jenkins-bot: Verified
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
https://gerrit.wikimedia.org/r/509635
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: I2f95448fab6fe8e09e236ddb45920f0cd6c2e8ad
Gerrit-Change-Number: 509635
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)