Commit 09be616d authored by Vincent Pelletier's avatar Vincent Pelletier

test: Fix a few coverage pragma.

parent 3369b98b
......@@ -303,7 +303,7 @@ def print_buffer_on_error(func):
"""
try:
return func(self, *args, **kw)
except Exception: # pragma : no cover
except Exception: # pragma: no cover
sys.stdout.write(utils.toBytes(os.linesep))
sys.stdout.write(self.caucase_test_output.getvalue())
raise
......@@ -2321,7 +2321,7 @@ class CaucaseTest(unittest.TestCase):
user2_new_key_path,
),
)
except SystemExit as e:
except SystemExit as e: # pragma: no cover
if e.code:
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