jenkins-bot has submitted this change and it was merged.
Change subject: [cleanup] code cleanup for interwikidata_tests.py ......................................................................
[cleanup] code cleanup for interwikidata_tests.py
- when super() is the only call of a inherited method it can be omitted.
Change-Id: I530def17e44d6ba2d781a55c1f581b09a09f58ef --- M tests/interwikidata_tests.py 1 file changed, 0 insertions(+), 4 deletions(-)
Approvals: Ladsgroup: Looks good to me, approved Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/interwikidata_tests.py b/tests/interwikidata_tests.py index b65134b..df30ded 100644 --- a/tests/interwikidata_tests.py +++ b/tests/interwikidata_tests.py @@ -22,10 +22,6 @@
"""A dummy bot to prevent editing in production wikis."""
- def __init__(self, *args, **kwargs): - """Initiate the class.""" - super(DummyBot, self).__init__(*args, **kwargs) - def put_current(self): """Prevent editing.""" return False
pywikibot-commits@lists.wikimedia.org