Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ test_repr
Function
test_repr
tests/test_class.py:35–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
34
35
def
test_repr():
36
assert
"pybind11_type"
in repr(type(UserType))
37
assert
"UserType"
in repr(UserType)
38
39
40
def
test_instance(msg):
Callers
nothing calls this directly
Calls
2
repr
Function · 0.85
type
Class · 0.50
Tested by
no test coverage detected