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):
pywikibot-commits@lists.wikimedia.org