MCPcopy Create free account
hub / github.com/apache/httpd / _is_ignored

Method _is_ignored

test/pyhttpd/log.py:79–84  ·  view source on GitHub ↗
(self, line: str)

Source from the content-addressed store, hash-verified

77 self._ignored_lognos.add(l)
78
79 def _is_ignored(self, line: str) -> bool:
80 if self._lookup_matches(line, self._ignored_matches):
81 return True
82 if self._lookup_lognos(line, self._ignored_lognos):
83 return True
84 return False
85
86 def ignore_recent(self, lognos: List[str] = [], matches: List[str] = []):
87 """After a test case triggered errors/warnings on purpose, add

Callers 2

ignore_recentMethod · 0.95
get_missedMethod · 0.95

Calls 2

_lookup_matchesMethod · 0.95
_lookup_lognosMethod · 0.95

Tested by

no test coverage detected