1
0
forked from VimPlug/jedi

refactorings for related_names

This commit is contained in:
David Halter
2012-09-10 10:22:18 +02:00
parent ad8164e067
commit b29fdbdfde
4 changed files with 64 additions and 43 deletions

View File

@@ -129,7 +129,7 @@ def run_related_name_test(correct, source, line_nr, index, line, path):
Return if the test was a fail or not, with 1 for fail and 0 for success.
"""
try:
result = functions.get_related_names(source, line_nr, index, path)
result = functions.related_names(source, line_nr, index, path)
except Exception:
print(traceback.format_exc())
print('test @%s: %s' % (line_nr - 1, line))