We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d4882b commit d6f9927Copy full SHA for d6f9927
graalpython/com.oracle.graal.python.test/src/tests/cpyext/test_object.py
@@ -731,6 +731,17 @@ def test_doc(self):
731
assert len(obj.some_member.__doc__) == len(expected_doc)
732
assert obj.some_member.__doc__ == expected_doc
733
734
+ def test_multiple_inheritance_with_native(self):
735
+ _A = CPyExtType("_A","")
736
+ class B:
737
+ def __getattr__(self, name):
738
+ return name
739
+ class X(_A, B):
740
+ b = 2
741
+ x = X()
742
+ assert x.foo == "foo"
743
+
744
745
class CBytes:
746
def __bytes__(self):
747
return b'abc'
0 commit comments