forked from VimPlug/jedi
Trying to use prefer type annotations if they are available
This commit is contained in:
@@ -74,3 +74,7 @@ def test_method(Script):
|
||||
context = def_._name._context
|
||||
assert isinstance(context, BoundMethod), context
|
||||
assert isinstance(context._function, typeshed.FunctionStubContext), context
|
||||
|
||||
def_, = Script(code + '()').goto_definitions()
|
||||
context = def_._name._context
|
||||
assert isinstance(context, BoundMethod), context
|
||||
|
||||
Reference in New Issue
Block a user