mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
tests: Exclude lines from coverage
Exclude things like "raise NotImplementedError" and compiler bug handlers.
This commit is contained in:
parent
85150d397b
commit
1897478480
4 changed files with 15 additions and 12 deletions
|
@ -121,7 +121,7 @@ def assert_true(truth: bool, message:str=None):
|
|||
raise CompilerBugError(message)
|
||||
|
||||
|
||||
def report_bug():
|
||||
def report_bug(): # pragma: no cover
|
||||
""" Report an error and ask people to report it. """
|
||||
|
||||
print(traceback.format_exc())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue