1
0
forked from VimPlug/jedi

Fix some of the mixed test failures

This commit is contained in:
Dave Halter
2019-06-05 00:28:48 +02:00
parent 0a56211df8
commit 1139761525
3 changed files with 28 additions and 15 deletions
+4 -4
View File
@@ -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):
"""