mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-07 10:54:32 +08:00
Make infer public on classes
This commit is contained in:
1 parent
2fc53045c7
commit
7c56052d58
8 files changed
+41
-18
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user