Skip coverage on a particular annoying-to-trigger branch in execution code.
This commit is contained in:
parent
1ba56d5262
commit
de82919e39
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def execute_and_log_output(full_command, output_log_level, shell):
|
||||||
logger.log(output_log_level, line)
|
logger.log(output_log_level, line)
|
||||||
|
|
||||||
remaining_output = process.stdout.read().rstrip().decode()
|
remaining_output = process.stdout.read().rstrip().decode()
|
||||||
if remaining_output:
|
if remaining_output: # pragma: no cover
|
||||||
logger.log(output_log_level, remaining_output)
|
logger.log(output_log_level, remaining_output)
|
||||||
|
|
||||||
exit_code = process.poll()
|
exit_code = process.poll()
|
||||||
|
|
Loading…
Reference in a new issue