John Vandenberg has uploaded a new change for review.
https://gerrit.wikimedia.org/r/178466
Change subject: Add __name__ to allow_failure tests
......................................................................
Add __name__ to allow_failure tests
Change-Id: Ia7ae3b98304c850f3ace0e20f4fcc2b05205617b
---
M tests/utils.py
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/66/178466/1
diff --git a/tests/utils.py b/tests/utils.py
index afb68eb..4f1b002 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -55,6 +55,7 @@
except Exception:
pywikibot.exception(tb=True)
raise unittest.SkipTest()
+ wrapper.__name__ = func.__name__
return wrapper
--
To view, visit https://gerrit.wikimedia.org/r/178466
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7ae3b98304c850f3ace0e20f4fcc2b05205617b
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits