Show More
@@ -645,7 +645,7 b' class coverage:' | |||||
645 | def find_docstring_pass_pair(self, tree, spots): |
|
645 | def find_docstring_pass_pair(self, tree, spots): | |
646 | for i in range(1, len(tree)): |
|
646 | for i in range(1, len(tree)): | |
647 | if (self.is_string_constant(tree[i]) and |
|
647 | if (self.is_string_constant(tree[i]) and | |
648 | self.is_pass_stmt(tree[i + 1]): |
|
648 | self.is_pass_stmt(tree[i + 1])): | |
649 | first_line = self.first_line_of_tree(tree[i]) |
|
649 | first_line = self.first_line_of_tree(tree[i]) | |
650 | last_line = self.last_line_of_tree(tree[i + 1]) |
|
650 | last_line = self.last_line_of_tree(tree[i + 1]) | |
651 | self.record_multiline(spots, first_line, last_line) |
|
651 | self.record_multiline(spots, first_line, last_line) |
General Comments 0
You need to be logged in to leave comments.
Login now