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

Function test_const_name

tests/test_const_name.py:27–31  ·  view source on GitHub ↗
(func, selector, expected)

Source from the content-addressed store, hash-verified

25 ),
26)
27def test_const_name(func, selector, expected):
28 if isinstance(func, str):
29 pytest.skip(func)
30 text = func(selector)
31 assert text == expected

Callers

nothing calls this directly

Calls 2

isinstanceFunction · 0.85
funcFunction · 0.70

Tested by

no test coverage detected