get_definitions -> get_definition

This commit is contained in:
David Halter
2012-09-04 18:47:07 +02:00
parent cf953c9d02
commit 686c675b6d
3 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ def run_definition_test(correct, source, line_nr, line, correct_start, path):
Return if the test was a fail or not, with 1 for fail and 0 for success.
"""
def defs(line_nr, indent):
return set(functions.get_definitions(source, line_nr, indent, path))
return set(functions.get_definition(source, line_nr, indent, path))
try:
result = defs(line_nr, len(line))
except Exception: