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

Class MyTest

tests/test_factory_constructors.py:193–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191 assert ConstructorStats.detail_reg_inst() == n_inst
192
193 class MyTest(m.TestFactory6):
194 def __init__(self, *args):
195 m.TestFactory6.__init__(self, *args)
196
197 def get(self):
198 return -5 + m.TestFactory6.get(self)
199
200 # Return Class by value, moved into new alias:
201 z = MyTest(tag.base, 123)

Callers 1

test_init_factory_aliasFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_init_factory_aliasFunction · 0.68