Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
10
def
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
MIType
Method · 0.80
foo
Method · 0.45
bar
Method · 0.45
Tested by
no test coverage detected