From 642e1ce4d2a46ca1908f0fb6c62775606a241d9e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 02 2015 12:05:50 +0000 Subject: Do not test the mail_logging module --- diff --git a/progit/mail_logging.py b/progit/mail_logging.py index 6fe6647..312a6cb 100644 --- a/progit/mail_logging.py +++ b/progit/mail_logging.py @@ -33,14 +33,14 @@ import traceback psutil = None try: import psutil -except (OSError, ImportError): +except (OSError, ImportError): # pragma: no cover # We run into issues when trying to import psutil from inside mod_wsgi on # rhel7. If we hit that here, then just fail quietly. # https://github.com/jmflinuxtx/kerneltest-harness/pull/17#issuecomment-48007837 pass -class ContextInjector(logging.Filter): +class ContextInjector(logging.Filter): # pragma: no cover """ Logging filter that adds context to log records. Filters are typically used to "filter" log records. They declare a filter