mirror of
https://github.com/powerline/powerline.git
synced 2025-07-24 06:15:41 +02:00
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):
|
class TestCase(_TestCase):
|
||||||
def fail(self, msg=None):
|
def fail(self, msg=None):
|
||||||
super(TestCase, self).fail(*args, **kwargs)
|
|
||||||
suite.fail(self.__class__.__name__,
|
suite.fail(self.__class__.__name__,
|
||||||
msg or 'Test failed without message')
|
msg or 'Test failed without message')
|
||||||
|
super(TestCase, self).fail(*args, **kwargs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user