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

Function test_docs

tests/test_numpy_vectorize.py:150–156  ·  view source on GitHub ↗
(doc)

Source from the content-addressed store, hash-verified

148
149
150def test_docs(doc):
151 assert (
152 doc(m.vectorized_func)
153 == """
154 vectorized_func(arg0: typing.Annotated[numpy.typing.ArrayLike, numpy.int32], arg1: typing.Annotated[numpy.typing.ArrayLike, numpy.float32], arg2: typing.Annotated[numpy.typing.ArrayLike, numpy.float64]) -> object
155 """
156 )
157
158
159def test_trivial_broadcasting():

Callers

nothing calls this directly

Calls 1

docFunction · 0.70

Tested by

no test coverage detected