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 bkabrda
Recipients bkabrda
Date 2012-06-25.11:01:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340622105.45.0.77795142646.issue15178@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,
I think that doctest should be able to handle situations when the file that is being tested does not exist/is unreadable/etc...
Currently, doctest raises an IOError exception and the whole Python ends with an exception and backtrace.
I'm attaching a patch that fixes this and prints a simple description of what has gone wrong.

Thanks for considering!
History
Date User Action Args
2012-06-25 11:01:45bkabrdasetrecipients: + bkabrda
2012-06-25 11:01:45bkabrdasetmessageid: <1340622105.45.0.77795142646.issue15178@psf.upfronthosting.co.za>
2012-06-25 11:01:44bkabrdalinkissue15178 messages
2012-06-25 11:01:44bkabrdacreate