浏览代码

Disabling code coverage on this one-line functions.

Dan 7 年之前
父节点
当前提交
f017ed648f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      borgmatic/signals.py

+ 2 - 2
borgmatic/signals.py

@@ -2,14 +2,14 @@ import os
 import signal
 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.
     Send the signal to all processes in borgmatic's process group, which includes child process.
     '''
     '''
     os.killpg(os.getpgrp(), signal_number)
     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
     Configure borgmatic's signal handlers to pass relevant signals through to any child processes
     like Borg.
     like Borg.