We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa46515 commit c95eafdCopy full SHA for c95eafd
cls/TestCoverage/Utils.cls
@@ -477,7 +477,7 @@ ClassMethod GetPythonMethodMapping(pDocumentText) [ Language = python ]
477
method_map[node.name] = (start_line, end_line)
478
479
self.current_function = node.name
480
- for lineno in range(node.lineno, node.end_lineno + 1):
+ for lineno in range(node.lineno, self.get_end_line(node) + 1):
481
line_function_map[lineno-1] = self.outermost_function
482
483
self.generic_visit(node)
0 commit comments