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 e1dfcf4 commit 799f3deCopy full SHA for 799f3de
cls/TestCoverage/Utils.cls
@@ -487,11 +487,6 @@ ClassMethod GetPythonMethodMapping(pDocumentText) [ Language = python ]
487
@staticmethod
488
def get_end_line(node):
489
return max(child.lineno for child in ast.walk(node) if hasattr(child, 'lineno'))
490
- #; # preprocessing the ending line number for each function
491
- #; tree_with_line_numbers = ast.increment_lineno(tree, n=1)
492
- #; for node in ast.walk(tree_with_line_numbers):
493
- #; if isinstance(node, ast.FunctionDef):
494
- #; node.end_lineno = node.body[-1].end_lineno
495
496
FunctionMapper().visit(tree)
497
print(source_lines)
0 commit comments