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

Function test_member_doc

tests/test_native_enum.py:114–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112
113
114def test_member_doc():
115 pure_native = enum.IntEnum("pure_native", (("mem", 0),))
116 assert m.member_doc.mem0.__doc__ == "docA"
117 assert m.member_doc.mem1.__doc__ == pure_native.mem.__doc__
118 assert m.member_doc.mem2.__doc__ == "docC"
119
120
121def test_pybind11_isinstance_color():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected