jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/477467 )
Change subject: [Cleanup] Remove unused variables in tests\deprecation_tests.py
......................................................................
[Cleanup] Remove unused variables in tests\deprecation_tests.py
Fixed the following instances in tests\deprecation_tests.py
- :23: unreachable code after 'raise' (100% confidence)
- :34: unreachable code after 'raise' (100% confidence)
Bug: T203395
Change-Id: I91d6750b10dbeef8d365ccbe7d9239066186f883
---
M tests/deprecation_tests.py
1 file changed, 0 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/deprecation_tests.py b/tests/deprecation_tests.py
index 9fb91e9..b1b565f 100644
--- a/tests/deprecation_tests.py
+++ b/tests/deprecation_tests.py
@@ -20,7 +20,6 @@
def decorator(obj):
def wrapper(*args, **kwargs):
raise Exception(obj.__full_name__)
- return obj(*args, **kwargs)
return wrapper
return decorator
@@ -31,7 +30,6 @@
def decorator(obj):
def wrapper(*args, **kwargs):
raise Exception(obj.__full_name__)
- return obj(*args, **kwargs)
return wrapper
return decorator
--
To view, visit https://gerrit.wikimedia.org/r/477467
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I91d6750b10dbeef8d365ccbe7d9239066186f883
Gerrit-Change-Number: 477467
Gerrit-PatchSet: 7
Gerrit-Owner: YVB <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: Framawiki <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
Gerrit-CC: Dvorapa <[email protected]>
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits