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

Class PyDrvdWithAlias

tests/test_class_sh_factory_constructors.py:43–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41)
42def test_with_alias_invalid(num_init_args, smart_ptr):
43 class PyDrvdWithAlias(m.with_alias):
44 pass
45
46 with pytest.raises(TypeError) as excinfo:
47 PyDrvdWithAlias(*((0,) * num_init_args))

Callers 1

test_with_alias_invalidFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_with_alias_invalidFunction · 0.68