increase test coverage

This commit is contained in:
Alan Hamlett 2015-08-12 11:04:11 -07:00
parent f818a64d3d
commit 4eab860dc0
4 changed files with 16 additions and 6 deletions

View file

@ -224,7 +224,7 @@ def should_exclude(fileName, include, exclude):
msg=u(ex),
pattern=u(pattern),
))
except TypeError:
except TypeError: # pragma: nocover
pass
try:
for pattern in exclude:
@ -237,7 +237,7 @@ def should_exclude(fileName, include, exclude):
msg=u(ex),
pattern=u(pattern),
))
except TypeError:
except TypeError: # pragma: nocover
pass
return False