jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/630367 )
Change subject: [tests] Remove lyricwiki_family.py from framework
......................................................................
[tests] Remove lyricwiki_family.py from framework
- lyrics.fandom.com was closed as announced and is no longer reachable.
Remove this family file from framework. lyrics.fandom.com/ru can still
be created via generate_family_file or AutoFamily.
- update docs/api_ref/pywikibot.families.rst
- update family_tests.py
- update logentries_tests.py
Bug: T245439
Change-Id: I809f5cf15938543e933d315407db11cf353ddcdf
---
M docs/api_ref/pywikibot.families.rst
D pywikibot/families/lyricwiki_family.py
M tests/family_tests.py
M tests/logentries_tests.py
4 files changed, 5 insertions(+), 31 deletions(-)
Approvals:
Zoranzoki21: Looks good to me, but someone else must approve
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/docs/api_ref/pywikibot.families.rst b/docs/api_ref/pywikibot.families.rst
index e209377..ce53508 100644
--- a/docs/api_ref/pywikibot.families.rst
+++ b/docs/api_ref/pywikibot.families.rst
@@ -21,11 +21,6 @@
.. automodule:: pywikibot.families.incubator_family
-pywikibot.families.lyricwiki\_family module
--------------------------------------------
-
-.. automodule:: pywikibot.families.lyricwiki_family
-
pywikibot.families.mediawiki\_family module
-------------------------------------------
diff --git a/pywikibot/families/lyricwiki_family.py b/pywikibot/families/lyricwiki_family.py
deleted file mode 100644
index 9c1ac64..0000000
--- a/pywikibot/families/lyricwiki_family.py
+++ /dev/null
@@ -1,21 +0,0 @@
-# -*- coding: utf-8 -*-
-"""Family module for LyricWiki."""
-#
-# (C) Pywikibot team, 2007-2020
-#
-# Distributed under the terms of the MIT license.
-#
-from pywikibot import family
-
-
-# The LyricWiki family
-
-# user-config.py:
-# usernames['lyricwiki']['en'] = 'user'
-class Family(family.FandomFamily):
-
- """Family class for LyricWiki."""
-
- name = 'lyricwiki'
- domain = 'lyrics.fandom.com'
- codes = ('en', 'ru')
diff --git a/tests/family_tests.py b/tests/family_tests.py
index c9ea684..8655a4f 100644
--- a/tests/family_tests.py
+++ b/tests/family_tests.py
@@ -233,7 +233,7 @@
"""Test each family builds a working regex."""
for family in pywikibot.config.family_files:
with self.subTest(family=family):
- if family in ('wowwiki', 'lyricwiki'):
+ if family == 'wowwiki':
self.skipTest(
'Family.from_url() does not work for {} (T215077)'
.format(family))
diff --git a/tests/logentries_tests.py b/tests/logentries_tests.py
index 39f31d6..942e5b0 100644
--- a/tests/logentries_tests.py
+++ b/tests/logentries_tests.py
@@ -28,9 +28,9 @@
It uses the German Wikipedia for a current representation of the
log entries and the test Wikipedia for the future representation.
- It also tests on a wiki with MW 1.19 or older to check that it can
- still read the older format. It currently uses lyricwiki which as of
- this commit uses 1.19.24.
+ It also tests on a wiki with MW 1.19 to check that it can still read
+ the older format. It currently uses wowwiki which as of this commit
+ uses 1.19.24.
"""
sites = {
@@ -45,7 +45,7 @@
'target': 'Hauptseite',
},
'old': {
- 'family': 'lyricwiki',
+ 'family': 'wowwiki',
'code': 'en',
'target': None,
}
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/630367
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I809f5cf15938543e933d315407db11cf353ddcdf
Gerrit-Change-Number: 630367
Gerrit-PatchSet: 3
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444(a)gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/459367 )
Change subject: [IMPR] Unify RecentChangesPageGenerator parameters with APISite.recentchanges
......................................................................
[IMPR] Unify RecentChangesPageGenerator parameters with APISite.recentchanges
Currently we have different parameters in
pagegenerators.RecentChangesPageGenerator and APISite.recentchanges.
This patch unifies them.
Change-Id: I171bbe6f4d579bfb26491489034d4ba9867ffc46
---
M pywikibot/pagegenerators.py
M pywikibot/site/__init__.py
2 files changed, 12 insertions(+), 58 deletions(-)
Approvals:
Mpaa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py
index 5dd091d..0612035 100644
--- a/pywikibot/pagegenerators.py
+++ b/pywikibot/pagegenerators.py
@@ -31,7 +31,6 @@
from functools import partial
from itertools import zip_longest
from requests.exceptions import ReadTimeout
-from typing import List, Optional, Union
from warnings import warn
import pywikibot
@@ -1349,64 +1348,19 @@
total=total, returndict=True))
-@deprecated_args(nobots=True, pagelist=True, step=True)
-def RecentChangesPageGenerator(*,
- start=None,
- end=None,
- reverse: bool = False,
- namespaces=None,
- changetype: Optional[str] = None,
- showMinor: Optional[bool] = None,
- showBot: Optional[bool] = None,
- showAnon: Optional[bool] = None,
- showRedirects: Optional[bool] = None,
- showPatrolled: Optional[bool] = None,
- topOnly: bool = False,
- total: Optional[int] = None,
- user: Union[str, List[str], None] = None,
- excludeuser: Union[str, List[str], None] = None,
- site=None,
- tag: Optional[str] = None,
- _filter_unique=None):
+def RecentChangesPageGenerator(site=None, _filter_unique=None, **kwargs):
"""
Generate pages that are in the recent changes list, including duplicates.
- @param start: Timestamp to start listing from
- @type start: pywikibot.Timestamp
- @param end: Timestamp to end listing at
- @type end: pywikibot.Timestamp
- @param reverse: if True, start with oldest changes (default: newest)
- @param changetype: only iterate changes of this type ("edit" for
- edits to existing pages, "new" for new pages, "log" for log
- entries)
- @param showMinor: if True, only list minor edits; if False, only list
- non-minor edits; if None, list all
- @param showBot: if True, only list bot edits; if False, only list
- non-bot edits; if None, list all
- @param showAnon: if True, only list anon edits; if False, only list
- non-anon edits; if None, list all
- @param showRedirects: if True, only list edits to redirect pages; if
- False, only list edits to non-redirect pages; if None, list all
- @param showPatrolled: if True, only list patrolled edits; if False,
- only list non-patrolled edits; if None, list all
- @param topOnly: if True, only list changes that are the latest revision
- (default False)
- @param user: if not None, only list edits by this user or users
- @param excludeuser: if not None, exclude edits by this user or users
+ For parameters refer pywikibot.site.recentchanges
+
@param site: Site for generator results.
@type site: L{pywikibot.site.BaseSite}
- @param tag: a recent changes tag
"""
if site is None:
site = pywikibot.Site()
- gen = site.recentchanges(start=start, end=end, reverse=reverse,
- namespaces=namespaces, changetype=changetype,
- minor=showMinor, bot=showBot, anon=showAnon,
- redirect=showRedirects, patrolled=showPatrolled,
- top_only=topOnly, total=total, user=user,
- excludeuser=excludeuser, tag=tag)
-
+ gen = site.recentchanges(**kwargs)
gen.request['rcprop'] = 'title'
gen = (pywikibot.Page(site, rc['title'])
for rc in gen if rc['type'] != 'log' or 'title' in rc)
diff --git a/pywikibot/site/__init__.py b/pywikibot/site/__init__.py
index e2c424d..d70869f 100644
--- a/pywikibot/site/__init__.py
+++ b/pywikibot/site/__init__.py
@@ -4049,14 +4049,14 @@
return legen
- @deprecated_args(returndict=True, nobots=True, rcshow=True,
- rctype='changetype', revision=True, repeat=True,
- rcstart='start', rcend='end', rcdir=True, step=True,
- includeredirects='redirect', namespace='namespaces',
- rcnamespace='namespaces', number='total', rclimit='total',
- showMinor='minor', showBot='bot', showAnon='anon',
- showRedirects='redirect', showPatrolled='patrolled',
- topOnly='top_only', pagelist=True)
+ @deprecated_args(nobots=True, includeredirects='redirect',
+ namespace='namespaces', number='total', pagelist=True,
+ rcdir=True, rcend='end', rclimit='total',
+ rcnamespace='namespaces', rcshow=True, rcstart='start',
+ rctype='changetype', repeat=True, returndict=True,
+ revision=True, showAnon='anon', showBot='bot',
+ showMinor='minor', showPatrolled='patrolled',
+ showRedirects='redirect', step=True, topOnly='top_only')
def recentchanges(self, *,
start=None,
end=None,
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/459367
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I171bbe6f4d579bfb26491489034d4ba9867ffc46
Gerrit-Change-Number: 459367
Gerrit-PatchSet: 9
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444(a)gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/630334 )
Change subject: [cleanup] Cleanup deprecated recentchanges parameter
......................................................................
[cleanup] Cleanup deprecated recentchanges parameter
- remove rcprop which was never used neither in compat nor in core
- show a FutureWarning for returndict, nobots, rcshow, revision, repeat,
rcdir, step and pagelist
- add type hints to current parameters of Site.recentchanges
- deprecate unused pagelist parameter in RecentChangesPageGenerator
- add type hints to current parameters of RecentChangesPageGenerator
- use keyword arguments only for RecentChangesPageGenerator function
and Site.recentchanges method
Change-Id: Id0de5c6abbd194049428c6c864f26ff5e8edd086
---
M pywikibot/pagegenerators.py
M pywikibot/site/__init__.py
2 files changed, 48 insertions(+), 51 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py
index b9b163e..5dd091d 100644
--- a/pywikibot/pagegenerators.py
+++ b/pywikibot/pagegenerators.py
@@ -31,6 +31,7 @@
from functools import partial
from itertools import zip_longest
from requests.exceptions import ReadTimeout
+from typing import List, Optional, Union
from warnings import warn
import pywikibot
@@ -1348,15 +1349,25 @@
total=total, returndict=True))
-@deprecated_args(nobots=None, step=None)
-def RecentChangesPageGenerator(start=None, end=None, reverse=False,
- namespaces=None, pagelist=None,
- changetype=None, showMinor=None,
- showBot=None, showAnon=None,
- showRedirects=None, showPatrolled=None,
- topOnly=False, total=None,
- user=None, excludeuser=None, site=None,
- tag=None, _filter_unique=None):
+@deprecated_args(nobots=True, pagelist=True, step=True)
+def RecentChangesPageGenerator(*,
+ start=None,
+ end=None,
+ reverse: bool = False,
+ namespaces=None,
+ changetype: Optional[str] = None,
+ showMinor: Optional[bool] = None,
+ showBot: Optional[bool] = None,
+ showAnon: Optional[bool] = None,
+ showRedirects: Optional[bool] = None,
+ showPatrolled: Optional[bool] = None,
+ topOnly: bool = False,
+ total: Optional[int] = None,
+ user: Union[str, List[str], None] = None,
+ excludeuser: Union[str, List[str], None] = None,
+ site=None,
+ tag: Optional[str] = None,
+ _filter_unique=None):
"""
Generate pages that are in the recent changes list, including duplicates.
@@ -1365,55 +1376,40 @@
@param end: Timestamp to end listing at
@type end: pywikibot.Timestamp
@param reverse: if True, start with oldest changes (default: newest)
- @type reverse: bool
- @param pagelist: iterate changes to pages in this list only
- @param pagelist: list of Pages
@param changetype: only iterate changes of this type ("edit" for
edits to existing pages, "new" for new pages, "log" for log
entries)
- @type changetype: basestring
@param showMinor: if True, only list minor edits; if False, only list
non-minor edits; if None, list all
- @type showMinor: bool or None
@param showBot: if True, only list bot edits; if False, only list
non-bot edits; if None, list all
- @type showBot: bool or None
@param showAnon: if True, only list anon edits; if False, only list
non-anon edits; if None, list all
- @type showAnon: bool or None
@param showRedirects: if True, only list edits to redirect pages; if
False, only list edits to non-redirect pages; if None, list all
- @type showRedirects: bool or None
@param showPatrolled: if True, only list patrolled edits; if False,
only list non-patrolled edits; if None, list all
- @type showPatrolled: bool or None
@param topOnly: if True, only list changes that are the latest revision
(default False)
- @type topOnly: bool
@param user: if not None, only list edits by this user or users
- @type user: basestring|list
@param excludeuser: if not None, exclude edits by this user or users
- @type excludeuser: basestring|list
@param site: Site for generator results.
@type site: L{pywikibot.site.BaseSite}
@param tag: a recent changes tag
- @type tag: str
"""
if site is None:
site = pywikibot.Site()
gen = site.recentchanges(start=start, end=end, reverse=reverse,
- namespaces=namespaces, pagelist=pagelist,
- changetype=changetype, minor=showMinor,
- bot=showBot, anon=showAnon,
- redirect=showRedirects,
- patrolled=showPatrolled,
- top_only=topOnly, total=total,
- user=user, excludeuser=excludeuser, tag=tag)
+ namespaces=namespaces, changetype=changetype,
+ minor=showMinor, bot=showBot, anon=showAnon,
+ redirect=showRedirects, patrolled=showPatrolled,
+ top_only=topOnly, total=total, user=user,
+ excludeuser=excludeuser, tag=tag)
gen.request['rcprop'] = 'title'
- gen = (pywikibot.Page(site, x['title'])
- for x in gen if x['type'] != 'log' or 'title' in x)
+ gen = (pywikibot.Page(site, rc['title'])
+ for rc in gen if rc['type'] != 'log' or 'title' in rc)
if _filter_unique:
gen = _filter_unique(gen)
diff --git a/pywikibot/site/__init__.py b/pywikibot/site/__init__.py
index ef6becb..e2c424d 100644
--- a/pywikibot/site/__init__.py
+++ b/pywikibot/site/__init__.py
@@ -29,7 +29,7 @@
from enum import IntEnum
from itertools import zip_longest
from textwrap import fill
-from typing import Optional
+from typing import List, Optional, Union
from warnings import warn
import pywikibot
@@ -4049,18 +4049,30 @@
return legen
- @deprecated_args(returndict=None, nobots=None, rcshow=None, rcprop=None,
- rctype='changetype', revision=None, repeat=None,
- rcstart='start', rcend='end', rcdir=None, step=None,
+ @deprecated_args(returndict=True, nobots=True, rcshow=True,
+ rctype='changetype', revision=True, repeat=True,
+ rcstart='start', rcend='end', rcdir=True, step=True,
includeredirects='redirect', namespace='namespaces',
rcnamespace='namespaces', number='total', rclimit='total',
showMinor='minor', showBot='bot', showAnon='anon',
showRedirects='redirect', showPatrolled='patrolled',
- topOnly='top_only', pagelist=None)
- def recentchanges(self, start=None, end=None, reverse=False,
- namespaces=None, changetype=None, minor=None, bot=None,
- anon=None, redirect=None, patrolled=None, top_only=False,
- total=None, user=None, excludeuser=None, tag=None):
+ topOnly='top_only', pagelist=True)
+ def recentchanges(self, *,
+ start=None,
+ end=None,
+ reverse: bool = False,
+ namespaces=None,
+ changetype: Optional[str] = None,
+ minor: Optional[bool] = None,
+ bot: Optional[bool] = None,
+ anon: Optional[bool] = None,
+ redirect: Optional[bool] = None,
+ patrolled: Optional[bool] = None,
+ top_only: bool = False,
+ total: Optional[int] = None,
+ user: Union[str, List[str], None] = None,
+ excludeuser: Union[str, List[str], None] = None,
+ tag: Optional[str] = None):
"""Iterate recent changes.
@see: U{https://www.mediawiki.org/wiki/API:RecentChanges}
@@ -4070,7 +4082,6 @@
@param end: Timestamp to end listing at
@type end: pywikibot.Timestamp
@param reverse: if True, start with oldest changes (default: newest)
- @type reverse: bool
@param namespaces: only iterate pages in these namespaces
@type namespaces: iterable of basestring or Namespace key,
or a single instance of those types. May be a '|' separated
@@ -4078,31 +4089,21 @@
@param changetype: only iterate changes of this type ("edit" for
edits to existing pages, "new" for new pages, "log" for log
entries)
- @type changetype: basestring
@param minor: if True, only list minor edits; if False, only list
non-minor edits; if None, list all
- @type minor: bool or None
@param bot: if True, only list bot edits; if False, only list
non-bot edits; if None, list all
- @type bot: bool or None
@param anon: if True, only list anon edits; if False, only list
non-anon edits; if None, list all
- @type anon: bool or None
@param redirect: if True, only list edits to redirect pages; if
False, only list edits to non-redirect pages; if None, list all
- @type redirect: bool or None
@param patrolled: if True, only list patrolled edits; if False,
only list non-patrolled edits; if None, list all
- @type patrolled: bool or None
@param top_only: if True, only list changes that are the latest
revision (default False)
- @type top_only: bool
@param user: if not None, only list edits by this user or users
- @type user: basestring|list
@param excludeuser: if not None, exclude edits by this user or users
- @type excludeuser: basestring|list
@param tag: a recent changes tag
- @type tag: str
@raises KeyError: a namespace identifier was not resolved
@raises TypeError: a namespace identifier has an inappropriate
type such as NoneType or bool
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/630334
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Id0de5c6abbd194049428c6c864f26ff5e8edd086
Gerrit-Change-Number: 630334
Gerrit-PatchSet: 9
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Matěj Suchánek <matejsuchanek97(a)gmail.com>
Gerrit-Reviewer: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/591940 )
Change subject: [IMPR] Remove _replace_sync_callback in replace.py
......................................................................
[IMPR] Remove _replace_sync_callback in replace.py
There is no reason to have a callback function for synchroneous
page save which in result does just nothing except preventing
showing the page save message and does a bulk save message
every 50 titles. Use the default Bot behaviour instead.
Change-Id: Icf4fa26727207aa7d52818be019055c0a42acf89
---
M scripts/replace.py
1 file changed, 2 insertions(+), 20 deletions(-)
Approvals:
Matěj Suchánek: Looks good to me, but someone else must approve
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/replace.py b/scripts/replace.py
index e9f1d68..321317b 100755
--- a/scripts/replace.py
+++ b/scripts/replace.py
@@ -666,7 +666,7 @@
new_text = self.apply_replacements(original_text, set(), page=page)
return new_text
- def _log_changes(self, page, err):
+ def _replace_async_callback(self, page, err):
"""Log changed titles for display."""
# This is an async put callback
if not isinstance(err, Exception):
@@ -676,16 +676,6 @@
self._pending_processed_titles.put((page.title(as_link=True),
False))
- def _replace_async_callback(self, page, err):
- """Callback for asynchronous page edit."""
- self._log_changes(page, err)
-
- def _replace_sync_callback(self, page, err):
- """Callback for synchronous page edit."""
- self._log_changes(page, err)
- if isinstance(err, Exception):
- raise err
-
def generate_summary(self, applied_replacements):
"""Generate a summary message for the replacements."""
# all replacements which are merged into the default message
@@ -816,15 +806,7 @@
if self.getOption('always') and new_text != original_text:
self.save(page, original_text, new_text, applied,
- show_diff=False, quiet=True,
- callback=self._replace_sync_callback,
- asynchronous=False)
- if self._pending_processed_titles.qsize() > 50:
- while not self._pending_processed_titles.empty():
- proc_title, res = self._pending_processed_titles.get()
- pywikibot.output('Page {0}{1} saved'
- .format(proc_title,
- '' if res else ' not'))
+ show_diff=False, asynchronous=False)
def save(self, page, oldtext, newtext, applied, **kwargs):
"""Save the given page."""
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/591940
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Icf4fa26727207aa7d52818be019055c0a42acf89
Gerrit-Change-Number: 591940
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Magul <tomasz.magulski(a)gmail.com>
Gerrit-Reviewer: Matěj Suchánek <matejsuchanek97(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/588138 )
Change subject: [tests] Enable tests for version.py
......................................................................
[tests] Enable tests for version.py
version.py does not respect neither -help nor -simulate option.
Anyway we can run script_tests.py with it.
- version -help does not return the expected result. Therefore
add 'version' to _expected_failures dict
- version -simulate gives other result than default. Add the
response to no_args_expected_results dict
Bug: T193972
Change-Id: I0a4c220f0611632983a2d6a32ae401cbc4583c73
---
M tests/script_tests.py
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/script_tests.py b/tests/script_tests.py
index dac48de..7ab84e5 100644
--- a/tests/script_tests.py
+++ b/tests/script_tests.py
@@ -50,9 +50,8 @@
failed_dep_script_set = {name for name in script_deps
if not check_script_deps(name)}
-unrunnable_script_set = {
- 'version', # does not use global args
-}
+# scripts which cannot be tested
+unrunnable_script_set = set()
def list_scripts(path, exclude=None):
@@ -136,6 +135,7 @@
'shell': ('>>> ', 'Welcome to the'),
'transferbot': 'Target site not different from source site',
'unusedfiles': ('Working on', None),
+ 'version': 'Pywikibot: [',
'watchlist': 'Retrieving watchlist',
# The following auto-run and typically can't be validated,
@@ -359,7 +359,7 @@
# Here come scripts requiring and missing dependencies, that haven't been
# fixed to output -help in that case.
- _expected_failures = set()
+ _expected_failures = {'version'}
_allowed_failures = []
_arguments = '-help'
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/588138
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I0a4c220f0611632983a2d6a32ae401cbc4583c73
Gerrit-Change-Number: 588138
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged