Message249125
| Author |
mbussonn |
| Recipients |
Jim.Jewett, The Compiler, ezio.melotti, martin.panter, mbussonn, ncoghlan, njs, r.david.murray, rbcollins, serhiy.storchaka, takluyver, terry.reedy |
| Date |
2015年08月25日.14:25:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1440512741.94.0.0839567024098.issue24294@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
# 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 ? |
|
History
|
|---|
| 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 |
|