return None from wantMethod

This commit is contained in:
Alan Hamlett 2015-08-29 17:44:18 -07:00
parent 16f4c2c1f3
commit f8ad6b1111
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class NoseExclude(Plugin):
try:
cls = get_method_class(meth)
except AttributeError:
return False
return None
fqn = '%s.%s.%s' % (cls.__module__, cls.__name__, meth.__name__)
if fqn in self.exclude_tests: