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

Function func2

tests/test_virtual_functions.py:460–464  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

458 return Test()
459
460 def func2():
461 class Test(m.test_override_cache_helper):
462 pass
463
464 return Test()
465
466 for _ in range(1500):
467 assert m.test_override_cache(func()) == 42

Callers 1

test_python_overrideFunction · 0.70

Calls 1

TestClass · 0.70

Tested by

no test coverage detected