Commit 883dce36 authored by Vincent Pelletier's avatar Vincent Pelletier

test: Do not expect coverage of test failure code path.

parent 12d2fe08
...@@ -288,7 +288,7 @@ def print_buffer_on_error(func): ...@@ -288,7 +288,7 @@ def print_buffer_on_error(func):
""" """
try: try:
return func(self, *args, **kw) return func(self, *args, **kw)
except Exception: except Exception: # pragma : no cover
sys.stdout.write(utils.toBytes(os.linesep)) sys.stdout.write(utils.toBytes(os.linesep))
sys.stdout.write(self.caucase_test_output.getvalue()) sys.stdout.write(self.caucase_test_output.getvalue())
raise raise
......
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