:return: `True` if `category` is suppressed for `linenum`
(self, category, linenum)
| 1050 | self._open_block_suppression = None |
| 1051 | |
| 1052 | def IsSuppressed(self, category, linenum): |
| 1053 | """:return: `True` if `category` is suppressed for `linenum`""" |
| 1054 | suppressed = self._suppressions[category] + self._suppressions[None] |
| 1055 | return any(linenum in lr for lr in suppressed) |
| 1056 | |
| 1057 | def HasOpenBlock(self): |
| 1058 | """:return: `True` if a block suppression was started but not ended""" |
no outgoing calls
no test coverage detected