jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/699543 )
Change subject: [cleanup] Use FutureWarning for deprecated arguments ......................................................................
[cleanup] Use FutureWarning for deprecated arguments
Change-Id: I89e25a4ee431df37dd9e11da7dc861079b3aedb4 --- M pywikibot/tools/__init__.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: JJMC89: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/tools/__init__.py b/pywikibot/tools/__init__.py index a941084..746c127 100644 --- a/pywikibot/tools/__init__.py +++ b/pywikibot/tools/__init__.py @@ -1625,7 +1625,7 @@ warn('{old_arg} argument of {name} ' 'is deprecated; use {new_arg} instead.' .format_map(output_args), - DeprecationWarning, depth) + FutureWarning, depth) __kw[new_arg] = __kw[old_arg] elif new_arg == '': pass