Fix the whole test suite of descriptors.
This commit is contained in:
1 parent
ba03f1dcb9
commit
d15016c5c1
5 files changed
+16
-18
No files matched your search
@@ -65,7 +65,7 @@ class CompiledObject(Context):
|
||||
|
||||
@CheckAttribute
|
||||
def py__mro__(self):
|
||||
return tuple(create(self.evaluator, cls) for cls in self.obj.__mro__)
|
||||
return (self,) + tuple(create(self.evaluator, cls) for cls in self.obj.__mro__[1:])
|
||||
|
||||
@CheckAttribute
|
||||
def py__bases__(self):
|
||||
|
||||
Reference in new issue
Block a user