Don't log on fake error states such as SkipTest.
This commit is contained in:
parent
8e7641bae8
commit
7b25ef2502
|
@ -100,13 +100,14 @@ class Base(Plugin):
|
|||
error states, we want to make sure that they don't show up in
|
||||
the nose output as errors.
|
||||
"""
|
||||
self.__log_all_options_if_none_specified(test)
|
||||
if (err[0] == errors.BlockedTest or
|
||||
err[0] == errors.SkipTest or
|
||||
err[0] == errors.DeprecatedTest):
|
||||
print err[1].__str__().split('''-------------------- >> '''
|
||||
'''begin captured logging'''
|
||||
''' << --------------------''', 1)[0]
|
||||
else:
|
||||
self.__log_all_options_if_none_specified(test)
|
||||
|
||||
def handleError(self, test, err, capt=None):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue