[lang-ref] ( multiple_inheritance_supported ) ( python )
def test_multiple_inheritance_supported():
# Yes
class Parent01:
def method01(self):
return 'method01'
class Parent02:
def method02(self):
return 'method02'
class Child(Parent01, Parent02):
pass
c = Child()
assert c.method01() == 'method01'
assert c.method02() == 'method02'