jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1033046?usp=email )
Change subject: [cleanup] remove unused noop2 decorator in tools_deprecate_tests.py ......................................................................
[cleanup] remove unused noop2 decorator in tools_deprecate_tests.py
Change-Id: I246495a0e0070fb10b271de5f63433df5bf3f7d6 --- M tests/tools_deprecate_tests.py 1 file changed, 0 insertions(+), 10 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/tools_deprecate_tests.py b/tests/tools_deprecate_tests.py index c4024b1..fd5cc21 100755 --- a/tests/tools_deprecate_tests.py +++ b/tests/tools_deprecate_tests.py @@ -31,16 +31,6 @@ return decorator
-@add_full_name -def noop2(): - """Dummy decorator.""" - def decorator(obj): - def wrapper(*args, **kwargs): - raise Exception(obj.__full_name__) - return wrapper - return decorator - - @noop() def decorated_func(): """Test dummy decorator."""
pywikibot-commits@lists.wikimedia.org