ENH: minor -- print out why skipping a backend while testing

This commit is contained in:
Yaroslav Halchenko 2012-11-01 15:24:32 -04:00
parent 652b5a77e0
commit 9510619b7b

View file

@ -142,14 +142,14 @@ filters = [FilterPoll] # always available
try:
from server.filtergamin import FilterGamin
filters.append(FilterGamin)
except:
pass
except Exception, e:
print "I: Skipping gamin backend testing. Got exception '%s'" % e
try:
from server.filterpyinotify import FilterPyinotify
filters.append(FilterPyinotify)
except:
pass
except Exception, e:
print "I: Skipping pyinotify backend testing. Got exception '%s'" % e
for Filter_ in filters:
tests.addTest(unittest.makeSuite(