jenkins-bot merged this change.

View Change

Approvals: D3r1ck01: Looks good to me, approved jenkins-bot: Verified
[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.

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@gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki@aol.com>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: jenkins-bot (75)