Commit 00b880b6 authored by Denis Bilenko's avatar Denis Bilenko

greentest: execute cleanup() if present

--HG--
extra : transplant_source : %F0%EC%09%289%E9w%E4F%02/Z%2Cz%A5G%28%C6%40%3B
parent c0cb84d9
......@@ -59,6 +59,8 @@ class TestCase(BaseTestCase):
self._timer = gevent.Timeout.start_new(self.__timeout__, RuntimeError('test is taking too long'))
def tearDown(self):
if hasattr(self, 'cleanup'):
self.cleanup()
try:
if not hasattr(self, 'stderr'):
self.unhook_stderr()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment