First call suite.fail, then super().fail

This commit is contained in:
Foo 2017-08-05 18:06:07 +03:00
parent 55d9c320dc
commit b047abcd9a
1 changed files with 1 additions and 1 deletions

View File

@ -87,6 +87,6 @@ def main(*args, **kwargs):
class TestCase(_TestCase):
def fail(self, msg=None):
super(TestCase, self).fail(*args, **kwargs)
suite.fail(self.__class__.__name__,
msg or 'Test failed without message')
super(TestCase, self).fail(*args, **kwargs)