1
0
forked from VimPlug/jedi

Make infer public on classes

This commit is contained in:
Dave Halter
2019-04-01 09:25:00 +02:00
parent 2fc53045c7
commit 7c56052d58
8 changed files with 41 additions and 18 deletions

View File

@@ -207,9 +207,9 @@ def test_goto_assignments_follow_imports(Script):
assert definition.name == 'p'
result, = definition.goto_assignments()
assert result.name == 'p'
result, = definition._goto_definitions()
result, = definition.infer()
assert result.name == 'int'
result, = result._goto_definitions()
result, = result.infer()
assert result.name == 'int'
definition, = script.goto_assignments()