Lines Matching refs:doc
26 def test_docstrings(doc):
27 assert doc(UserType) == "A `py::class_` type for testing"
33 assert doc(UserType.get_value) == """
38 assert doc(UserType.value) == "Get/set value using a property"
40 assert doc(m.NoConstructor.new_instance) == """
47 def test_qualname(doc):
53 assert doc(m.NestBase.__init__) == """
56 assert doc(m.NestBase.g) == """
59 assert doc(m.NestBase.Nested.__init__) == """
62 assert doc(m.NestBase.Nested.fn) == """
65 assert doc(m.NestBase.Nested.fa) == """