From f017ed648fa9c68c2f5c4415a60d954be0ab6ebf Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 31 Oct 2017 22:01:18 -0700 Subject: [PATCH] Disabling code coverage on this one-line functions. --- borgmatic/signals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/borgmatic/signals.py b/borgmatic/signals.py index aeb2f93..d500350 100644 --- a/borgmatic/signals.py +++ b/borgmatic/signals.py @@ -2,14 +2,14 @@ import os import signal -def _handle_signal(signal_number, frame): +def _handle_signal(signal_number, frame): # pragma: no cover ''' Send the signal to all processes in borgmatic's process group, which includes child process. ''' os.killpg(os.getpgrp(), signal_number) -def configure_signals(): +def configure_signals(): # pragma: no cover ''' Configure borgmatic's signal handlers to pass relevant signals through to any child processes like Borg.