[issue5230] pydoc reports misleading failure if target module raises an ImportError
R. David Murray
report at bugs.python.org
Tue Jun 2 15:10:48 CEST 2009
R. David Murray <rdmurray at bitdance.com> added the comment:
I'm sorry, I mistyped. That is the error message I was expecting (it's
derived from the one 'import' gives in that case). If the test were
like this:
elif exc is ImportError and str(value).endswith(path.split('.')[-1]):
then I think the tests would pass (but I haven't checked yet).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5230>
_______________________________________
More information about the Python-bugs-list
mailing list