Fix the issues that were changed by removing start_pos from the api classes.

This commit is contained in:
Dave Halter
2017-01-04 22:24:25 +01:00
parent e96fd32588
commit 9341df11bf
4 changed files with 10 additions and 9 deletions

View File

@@ -272,7 +272,7 @@ class TestGotoAssignments(TestCase):
"""
bar = names(dedent(src), references=True)[-1]
param = bar.goto_assignments()[0]
assert param.start_pos == (1, 13)
assert (param.line, param.column) == (1, 13)
assert param.type == 'param'
def test_class_call(self):