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

pull/68/merge
Yaroslav Halchenko 2012-11-01 15:24:32 -04:00
parent 652b5a77e0
commit 9510619b7b
1 changed files with 4 additions and 4 deletions

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(