First call suite.fail, then super().fail
This commit is contained in:
parent
55d9c320dc
commit
b047abcd9a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue