Skip coverage on a particular annoying-to-trigger branch in execution code.

This commit is contained in:
Dan Helfman 2019-06-13 21:38:06 -07:00
parent 1ba56d5262
commit de82919e39

View file

@ -22,7 +22,7 @@ def execute_and_log_output(full_command, output_log_level, shell):
logger.log(output_log_level, line)
remaining_output = process.stdout.read().rstrip().decode()
if remaining_output:
if remaining_output: # pragma: no cover
logger.log(output_log_level, remaining_output)
exit_code = process.poll()