forked from VimPlug/jedi
Refactoring: call_of_name -> call_of_leaf.
This commit is contained in:
@@ -485,7 +485,7 @@ def _check_isinstance_type(evaluator, element, search_name):
|
||||
# Do a simple get_code comparison. They should just have the same code,
|
||||
# and everything will be all right.
|
||||
classes = lst[1][1][0]
|
||||
call = helpers.call_of_name(search_name)
|
||||
call = helpers.call_of_leaf(search_name)
|
||||
assert name.get_code(normalized=True) == call.get_code(normalized=True)
|
||||
except AssertionError:
|
||||
return set()
|
||||
|
||||
Reference in New Issue
Block a user