From a8eae38a52803a2adc064ab2444ecf06b96c72aa Mon Sep 17 00:00:00 2001 From: Indivar Mishra Date: Fri, 20 Oct 2023 17:29:54 +0530 Subject: [PATCH] chore: ignore coverage for thread formatter --- tests/test_validity_strategy_multithreaded.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_validity_strategy_multithreaded.py b/tests/test_validity_strategy_multithreaded.py index 1e430b6..e882d84 100644 --- a/tests/test_validity_strategy_multithreaded.py +++ b/tests/test_validity_strategy_multithreaded.py @@ -11,7 +11,7 @@ NUM_THREADS = 4 -class ThreadFormatter(Formatter): +class ThreadFormatter(Formatter): # pragma: no cover thread_formatter = Formatter("%(threadName)s ") def __init__(self, inner): @@ -22,7 +22,7 @@ def format(self, record): class TestValidityStrategyMultithreaded(TestCase): - class WrappedThread(Thread): + class WrappedThread(Thread): # pragma: no cover """ Wrapper around `threading.Thread` that propagates exceptions and includes threadName in SQLAlchemy log lines.