Skip to content

Commit

Permalink
chore: ignore coverage for thread formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
indiVar0508 committed Oct 20, 2023
1 parent ea18787 commit a8eae38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_validity_strategy_multithreaded.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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.
Expand Down

0 comments on commit a8eae38

Please sign in to comment.