This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:41mbussonnsetrecipients: + 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:41mbussonnsetmessageid: <1440512741.94.0.0839567024098.issue24294@psf.upfronthosting.co.za>
2015-08-25 14:25:41mbussonnlinkissue24294 messages
2015-08-25 14:25:41mbussonncreate