MCPcopy Create free account
hub / github.com/pybind/pybind11 / test_multiple_inheritance_cpp

Function test_multiple_inheritance_cpp

tests/test_multiple_inheritance.py:10–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9
10def test_multiple_inheritance_cpp():
11 mt = m.MIType(3, 4)
12
13 assert mt.foo() == 3
14 assert mt.bar() == 4
15
16
17@pytest.mark.xfail("env.PYPY")

Callers

nothing calls this directly

Calls 3

MITypeMethod · 0.80
fooMethod · 0.45
barMethod · 0.45

Tested by

no test coverage detected