Tweaked the coverage line ignore patterns.
- Legacy-Id: 13880
This commit is contained in:
parent
52f0e084b5
commit
ce9291daeb
|
@ -496,10 +496,10 @@ TEST_CODE_COVERAGE_EXCLUDE_FILES = [
|
|||
# These are code line regex patterns
|
||||
TEST_CODE_COVERAGE_EXCLUDE_LINES = [
|
||||
"coverage: *ignore",
|
||||
"debug\.",
|
||||
"def .*debug"
|
||||
"debug",
|
||||
"unreachable\([^)]*\)",
|
||||
"if settings.DEBUG",
|
||||
"if settings.TEST_CODE_COVERAGE_CHECKER",
|
||||
"if __name__ == .__main__.:",
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue