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
pywikibot-commits@lists.wikimedia.org