| Dalba added a comment. |
In T184337#3881188, @Dvorapa wrote:@Dalba What about this comment above:
In T184337#3880427, @Xqt wrote:Also no warning is shown for the given example:
from pywikibot.exceptions import UploadWarning
?
Works for me.
Note that in python 3.2+ DeprecationWarnings are ignored by default. One has to change the default filters either via the command line:
$ python -Wa::DeprecationWarning test_module.pyor from within the code:
from warnings import simplefilter simplefilter('default', DeprecationWarning) from pywikibot.exceptions import UploadWarning
TASK DETAIL
EMAIL PREFERENCES
To: Dalba
Cc: gerritbot, Dvorapa, jayvdb, Aklapper, XZise, Xqt, pywikibot-bugs-list, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, rafidaslam, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Dalba, Masti, Alchimista, Rxy
Cc: gerritbot, Dvorapa, jayvdb, Aklapper, XZise, Xqt, pywikibot-bugs-list, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, rafidaslam, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
