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

Function test_buffer_docstring

tests/test_buffers.py:230–234  ·  view source on GitHub ↗
(doc, backport_typehints)

Source from the content-addressed store, hash-verified

228
229
230def test_buffer_docstring(doc, backport_typehints):
231 assert (
232 backport_typehints(doc(m.get_buffer_info))
233 == "get_buffer_info(arg0: collections.abc.Buffer) -> m.buffers.buffer_info"
234 )
235
236
237def test_buffer_exception():

Callers

nothing calls this directly

Calls 2

backport_typehintsFunction · 0.85
docFunction · 0.70

Tested by

no test coverage detected