Home | History | Annotate | Download | only in coverage

Lines Matching refs:excluded

13     """Parse code to find executable lines, excluded lines, etc."""
18 which the text will be read. Excluded lines are those that match
45 # The line numbers of excluded lines of code.
46 self.excluded = set()
94 self.excluded = self.lines_matching(self.exclude)
96 # Tokenize, to find excluded suites, to find docstrings, and to find
122 if not excluding and elineno in self.excluded:
152 # Check whether to end an excluded suite.
156 self.excluded.add(elineno)
193 """Parse source text to find executable lines, excluded lines, etc.
196 2) a sorted list of excluded line numbers.
204 excluded_lines = self.first_lines(self.excluded)
229 Excluded lines are excluded.
232 excluded_lines = self.first_lines(self.excluded)
239 # Don't report excluded lines as line numbers.
242 # Arcs to excluded lines shouldn't count.
250 # Ensure key is there: classdefs can include excluded lines.