mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-15 05:11:06 +08:00
Fix a test condition
This commit is contained in:
1 parent
a3b5247de9
commit
50b58a314e
1 file changed
+1
-1
@@ -73,4 +73,4 @@ def test_method(Script):
|
||||
def_, = Script(code).goto_definitions()
|
||||
context = def_._name._context
|
||||
assert isinstance(context, BoundMethod), context
|
||||
assert isinstance(context.function, typeshed.ClassStubContext), context
|
||||
assert isinstance(context._function, typeshed.FunctionStubContext), context
|
||||
Reference in new issue
Block a user