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

Class NotPybindDerived

tests/test_factory_constructors.py:484–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482 """Tests invocation of the pybind-registered base class with an invalid `self` argument."""
483
484 class NotPybindDerived:
485 pass
486
487 # Attempts to initialize with an invalid type passed as `self`:
488 class BrokenTF1(m.TestFactory1):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by 1

__init__Method · 0.68