forked from VimPlug/jedi
Fix some of the mixed test failures
This commit is contained in:
@@ -107,10 +107,6 @@ class HelperContextMixin(object):
|
||||
return class2.is_same_class(self)
|
||||
return self == class2
|
||||
|
||||
def is_stub(self):
|
||||
# The root context knows if it's a stub or not.
|
||||
return self.parent_context.is_stub()
|
||||
|
||||
|
||||
class Context(HelperContextMixin, BaseContext):
|
||||
"""
|
||||
@@ -197,6 +193,10 @@ class Context(HelperContextMixin, BaseContext):
|
||||
# Returns Optional[List[str]]
|
||||
return None
|
||||
|
||||
def is_stub(self):
|
||||
# The root context knows if it's a stub or not.
|
||||
return self.parent_context.is_stub()
|
||||
|
||||
|
||||
def iterate_contexts(contexts, contextualized_node=None, is_async=False):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user