MCPcopy Create free account
hub / github.com/apache/arrow / test_docstring_append

Function test_docstring_append

python/pyarrow/tests/test_util.py:132–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130
131
132def test_docstring_append():
133 docstr = textwrap.dedent(
134 """
135 This is the func_c method.
136
137 It computes C.
138
139 Examples
140 --------
141
142 >>> func_c()
143 C
144 """
145 )
146 assert func_c.__doc__ == docstr
147
148
149def test_docstring_template_from_callable():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected