Skip to content

Commit e0c59ba

Browse files
committed
Added a code coverage exception pattern.
- Legacy-Id: 13878
1 parent 263551d commit e0c59ba

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ietf/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ def skip_unreadable_post(record):
497497
TEST_CODE_COVERAGE_EXCLUDE_LINES = [
498498
"coverage: *ignore",
499499
"debug\.",
500+
"def .*debug"
500501
"unreachable\([^)]*\)",
501502
"if settings.DEBUG",
502503
"if __name__ == .__main__.:",

0 commit comments

Comments
 (0)