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

Class RabbitHamster

tests/test_class.py:244–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242
243 # Multiple bases
244 class RabbitHamster(m.Rabbit, m.Hamster):
245 def __init__(self):
246 m.Rabbit.__init__(self, "RabbitHamster")
247
248 with pytest.raises(TypeError) as exc_info:
249 RabbitHamster()

Callers 1

test_inheritance_initFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_inheritance_initFunction · 0.68