Author chris.jerdonek
Recipients asvetlov, brett.cannon, chris.jerdonek, docs@python, eli.bendersky, eric.araujo, ezio.melotti, georg.brandl, r.david.murray, sbt, terry.reedy, v+python
Date 2012-09-11.01:01:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347325319.94.0.99508281558.issue15629@psf.upfronthosting.co.za>
In-reply-to
Content
> You should also see if there are more doctest-safe or more doctest-unsafe tests, and mark the ones in the smallest group.

Running the doctests for all .rst files in the Doc/ directory using the latest patch gave me the following:

299 tests [files] OK.
126 tests failed
(and 6 that I manually skipped)

Following the suggestion above from Ezio, we should have a doc file marker to skip a file as opposed to including a file.  This means that doctests would be included by default, which I think would be a good way to go.  How do people feel about something like the following for a marker?

.. doctest-skip-file (to distinguish from skipping an individual test)

Or perhaps (to go with something like Nick's original suggestion)

.. doctest-unsafe
History
Date User Action Args
2012-09-11 01:02:00chris.jerdoneksetrecipients: + chris.jerdonek, brett.cannon, georg.brandl, terry.reedy, ezio.melotti, eric.araujo, v+python, r.david.murray, eli.bendersky, asvetlov, docs@python, sbt
2012-09-11 01:01:59chris.jerdoneksetmessageid: <1347325319.94.0.99508281558.issue15629@psf.upfronthosting.co.za>
2012-09-11 01:01:59chris.jerdoneklinkissue15629 messages
2012-09-11 01:01:58chris.jerdonekcreate