diff --git a/.coveragerc b/.coveragerc index f9ef3447bfec..98a555771f37 100644 --- a/.coveragerc +++ b/.coveragerc @@ -7,10 +7,7 @@ omit = [report] # Regexes for lines to exclude from consideration -exclude_lines = - # Have to re-enable the standard pragma - pragma: no cover - +exclude_also = # Don't complain about missing debug-only code: def __repr__ if self\.debug