MCPcopy 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
35def test_repr():
36 assert "pybind11_type" in repr(type(UserType))
37 assert "UserType" in repr(UserType)
38
39
40def test_instance(msg):

Callers

nothing calls this directly

Calls 2

reprFunction · 0.85
typeClass · 0.50

Tested by

no test coverage detected