tests setup: Ignore import errors

This commit is contained in:
Ask Solem 2010-11-09 15:41:18 +01:00
parent 402260bf9f
commit bf79a76b34
1 changed files with 4 additions and 1 deletions

View File

@ -27,6 +27,9 @@ moduleindex = ("kombu.abstract",
def setup():
# so coverage sees all our modules.
for module in moduleindex:
try:
__import__(module)
except ImportError:
pass