Srinivas Nyayapati <shireen...@gmail.com> added the comment:

How do I write tests which only run for a given platform? Looking at 
test_crypt.py, I see that the crypt module is imported using test.support 
module so the exception will be raised even before the tests run. Is there a 
way to test imports?

----------

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

Reply via email to