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

Function test_docstring_signatures

tests/test_enum.py:268–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266
267
268def test_docstring_signatures():
269 for enum_type in [m.ScopedEnum, m.UnscopedEnum]:
270 for attr in enum_type.__dict__.values():
271 # Issue #2623/PR #2637: Add argument names to enum_ methods
272 assert "arg0" not in (attr.__doc__ or "")
273
274
275def test_str_signature():

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected