Ignores coverage of the possible unknown exception during convert call
This commit is contained in:
parent
af2dee790c
commit
3f90f8c1cf
@ -169,7 +169,7 @@ def run_convert(
|
|||||||
run_subprocess(args, environment, logger)
|
run_subprocess(args, environment, logger)
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
raise ParseError(f"Convert failed at {args}") from e
|
raise ParseError(f"Convert failed at {args}") from e
|
||||||
except Exception as e:
|
except Exception as e: # pragma: no cover
|
||||||
raise ParseError("Unknown error running convert") from e
|
raise ParseError("Unknown error running convert") from e
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user