Skip to content
Snippets Groups Projects
Commit 5675150b authored by Henning Glawe's avatar Henning Glawe
Browse files

respect developer decision on local coverageIgnore

and degrade warning to debug message for coverageIgnore=True if the matcher
has an effect besides fIn progress
parent 4949e706
Branches
Tags
No related merge requests found
......@@ -113,11 +113,11 @@ class SimpleMatcher(object):
self.coverageIgnore = coverageIgnore
if coverageIgnore and not self.does_nothing:
logger.warning(
logger.debug(
"SimpleMatcher '%s' has an effect " +
"and is marked as coverageIgnore", name)
self.coverageIgnore = self.does_nothing and coverageIgnore
self.coverageIgnore = coverageIgnore
caller=inspect.currentframe()
if (defFile == '') and (defLine == 0):
if (caller is not None) and (caller.f_back is not None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment