Fix all gradual tests
This commit is contained in:
1 parent
329270e444
commit
171874d288
7 files changed
+59
-48
No files matched your search
@@ -101,6 +101,10 @@ 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):
|
||||
"""
|
||||
@@ -154,9 +158,6 @@ class Context(HelperContextMixin, BaseContext):
|
||||
def is_module(self):
|
||||
return False
|
||||
|
||||
def is_stub(self):
|
||||
return False
|
||||
|
||||
def is_compiled(self):
|
||||
return False
|
||||
|
||||
|
||||
Reference in new issue
Block a user