[issue15178] Doctest should handle situations when test files are not readable
Bohuslav "Slavek" Kabrda
report at bugs.python.org
Wed Jun 27 07:26:27 CEST 2012
Bohuslav "Slavek" Kabrda <bkabrda at redhat.com> added the comment:
Ok, attaching 4th version :)
I think it is nice when the testing library can react in situations like this one and not show a traceback. IMHO it is always nicer to display a pretty user-readable message than ending with a traceback.
----------
Added file: http://bugs.python.org/file26172/doctest-dont-end-with-exception-on-unreadable-files-v4.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15178>
_______________________________________
More information about the Python-bugs-list
mailing list