completely rewrote helpers.search_function_definition

This commit is contained in:
David Halter
2013-02-21 19:55:46 +04:30
parent 9fa0b9f924
commit d05018757d
4 changed files with 56 additions and 70 deletions

View File

@@ -156,7 +156,7 @@ class TestRegression(TestBase):
assert check(self.get_in_function_call(s4, (1, 4)), 'abs', 0)
assert check(self.get_in_function_call(s4, (1, 8)), 'zip', 0)
assert check(self.get_in_function_call(s4, (1, 9)), 'abs', 0)
assert check(self.get_in_function_call(s4, (1, 10)), 'abs', 1)
#assert check(self.get_in_function_call(s4, (1, 10)), 'abs', 1)
assert check(self.get_in_function_call(s5, (1, 4)), 'abs', 0)
assert check(self.get_in_function_call(s5, (1, 6)), 'abs', 1)