Message249125
# unittest
(Pending)DeprecationWarning are already enabled if no -W flags are given.
# doctest
We enable the DW in REPL only if originate from `__main__`, this seem to be painful to do in doctest, as each doctest execute in a module that have the name of the file it is executed in. Should I enable globally regardless of where the DW comes from, or explore more ?
Should the doctest fail if such a warning is raised, or actually just print it to the output, letting the doctest pass ? |
|
Date |
User |
Action |
Args |
2015-08-25 14:25:41 | mbussonn | set | recipients:
+ mbussonn, terry.reedy, ncoghlan, rbcollins, ezio.melotti, r.david.murray, njs, takluyver, martin.panter, Jim.Jewett, serhiy.storchaka, The Compiler |
2015-08-25 14:25:41 | mbussonn | set | messageid: <1440512741.94.0.0839567024098.issue24294@psf.upfronthosting.co.za> |
2015-08-25 14:25:41 | mbussonn | link | issue24294 messages |
2015-08-25 14:25:41 | mbussonn | create | |
|