jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1358369?usp=email )
Change subject: doctest: Skip main_authors doctests
......................................................................
doctest: Skip main_authors doctests
main_authors is deprecated and will be removed in Pywikibot 12.
This service currently fails frequently due to the PHP security
issue described in T441908. Therefore, skip these doctests entirely.
Change-Id: Iee71ad6fa162e86744de251874d3b283261ec906
---
M pywikibot/page/_toolforge.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Mahveotm: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/page/_toolforge.py b/pywikibot/page/_toolforge.py
index 4994d01..e29cd0a 100644
--- a/pywikibot/page/_toolforge.py
+++ b/pywikibot/page/_toolforge.py
@@ -59,8 +59,8 @@
>>> import pywikibot
>>> site = pywikibot.Site('wikipedia:de')
>>> page = pywikibot.Page(site, 'Project:Pywikibot')
- >>> auth = page.main_authors()
- >>> auth.most_common(1)
+ >>> auth = page.main_authors() # doctest: +SKIP
+ >>> auth.most_common(1) # doctest: +SKIP
[('DrTrigon', 37)]
.. version-deprecated:: 9.3
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1358369?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iee71ad6fa162e86744de251874d3b283261ec906
Gerrit-Change-Number: 1358369
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Mahveotm <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]