R. David Murray <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue5230>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com