Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ test_const_only_holder
Function
test_const_only_holder
tests/test_smart_ptr.py:368–370 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
366
367
368
def
test_const_only_holder():
369
o = m.MyObject6(
"my_data"
)
370
assert o.value ==
"my_data"
Callers
nothing calls this directly
Calls
1
MyObject6
Method · 0.80
Tested by
no test coverage detected