Ezio Melotti added the comment:

FTR there's also test.support.assert_python_ok and 
test.support.assert_python_failure (and a few convenience functions in 
subprocess too).  I suspect that if the import fails, stdout is empty, and 
stderr will contain the error message.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17883>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to