Commit f4219388 by Long Duong

Fix bug wrong exception.

parent 7e4f0ba0
......@@ -177,7 +177,7 @@ def setup_module(module):
from nose import SkipTest
try:
tagger = Senna('/usr/share/senna-v2.0')
except ExecutableNotFound:
except OSError:
raise SkipTest("Senna executable not found")
if __name__ == '__main__':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment