jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1337659?usp=email )
Change subject: tests: Remove unused reflinks constructor argument capture
......................................................................
tests: Remove unused reflinks constructor argument capture
The constructor tests use constructor_kwargs to inspect the generator.
Remove the unused constructor_args assignment from the test helper.
Change-Id: I30d5d23f4e62c77b5d679c2746012d6efb4ace89
---
M tests/reflinks_tests.py
1 file changed, 0 insertions(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/tests/reflinks_tests.py b/tests/reflinks_tests.py
index 6864723..a35e0b2 100755
--- a/tests/reflinks_tests.py
+++ b/tests/reflinks_tests.py
@@ -195,7 +195,6 @@
def dummy_constructor(self, *args, **kwargs) -> None:
"""A constructor faking the actual constructor."""
- TestReferencesBotConstructor.constructor_args = args
TestReferencesBotConstructor.constructor_kwargs = kwargs
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1337659?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: I30d5d23f4e62c77b5d679c2746012d6efb4ace89
Gerrit-Change-Number: 1337659
Gerrit-PatchSet: 1
Gerrit-Owner: Mahveotm <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]