refactorings for related_names

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

No files matched your search

+1 -1
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))