jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] tools_tests: Prevent overwriting name parameter
......................................................................
[FIX] tools_tests: Prevent overwriting name parameter
The `name` parameter for the `__new__` method was accidentally overwritten when
it created the tests with baf31f1b.
Change-Id: I9473d7132ca031956edc27db7f23f69941ed3c89
---
M tests/tools_tests.py
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/tools_tests.py b/tests/tools_tests.py
index c58e33f..2d0935e 100644
--- a/tests/tools_tests.py
+++ b/tests/tools_tests.py
@@ -506,9 +506,9 @@
self.assertNoDeprecation()
return test_method
- for name, tested_method in list(dct.items()):
- if name.startswith('_method_test_'):
- suffix = name[len('_method_test_'):]
+ for attr, tested_method in list(dct.items()):
+ if attr.startswith('_method_test_'):
+ suffix = attr[len('_method_test_'):]
cls.add_method(dct, 'test_method_' + suffix,
create_test(tested_method),
doc_suffix='on {0}'.format(suffix))
--
To view, visit https://gerrit.wikimedia.org/r/250940
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9473d7132ca031956edc27db7f23f69941ed3c89
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>
jenkins-bot has submitted this change and it was merged.
Change subject: Update mw and wm version numbers
......................................................................
Update mw and wm version numbers
Change-Id: Id0a0f6b9304bce716c9a07dd5873ffb42f8b2d81
---
M family.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/family.py b/family.py
index 1552df0..b717622 100644
--- a/family.py
+++ b/family.py
@@ -4331,7 +4331,7 @@
# Don't use this, use versionnumber() instead. This only exists
# to not break family files.
# Here we return the latest mw release for downloading
- return '1.25.2'
+ return '1.25.3'
def versionnumber(self, code, version=None):
"""Return an int identifying MediaWiki version.
@@ -4967,7 +4967,7 @@
# Don't use this, use versionnumber() instead. This only exists
# to not break family files.
# Here we return the latest mw release of wikimedia projects
- return '1.27.0-wmf.1'
+ return '1.27.0-wmf.3'
def shared_image_repository(self, code):
return ('commons', 'commons')
--
To view, visit https://gerrit.wikimedia.org/r/248609
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id0a0f6b9304bce716c9a07dd5873ffb42f8b2d81
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>