We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52f0e08 commit ce9291dCopy full SHA for ce9291d
1 file changed
ietf/settings.py
@@ -496,10 +496,10 @@ def skip_unreadable_post(record):
496
# These are code line regex patterns
497
TEST_CODE_COVERAGE_EXCLUDE_LINES = [
498
"coverage: *ignore",
499
- "debug\.",
500
- "def .*debug"
+ "debug",
501
"unreachable\([^)]*\)",
502
"if settings.DEBUG",
+ "if settings.TEST_CODE_COVERAGE_CHECKER",
503
"if __name__ == .__main__.:",
504
]
505
0 commit comments