mirror of https://github.com/celery/kombu.git
tests setup: Ignore import errors
This commit is contained in:
parent
402260bf9f
commit
bf79a76b34
|
@ -27,6 +27,9 @@ moduleindex = ("kombu.abstract",
|
|||
def setup():
|
||||
# so coverage sees all our modules.
|
||||
for module in moduleindex:
|
||||
__import__(module)
|
||||
try:
|
||||
__import__(module)
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue