Searched refs:BaseWithNested (Results 1 – 2 of 2) sorted by relevance
445 struct BaseWithNested { in TEST_SUBMODULE() struct449 struct DerivedWithNested : BaseWithNested { in TEST_SUBMODULE()453 py::class_<BaseWithNested> baseWithNested_class(m, "BaseWithNested"); in TEST_SUBMODULE()454 py::class_<DerivedWithNested, BaseWithNested> derivedWithNested_class(m, "DerivedWithNested"); in TEST_SUBMODULE()455 py::class_<BaseWithNested::Nested>(baseWithNested_class, "Nested") in TEST_SUBMODULE()
431 assert issubclass(m.DerivedWithNested, m.BaseWithNested)432 assert m.BaseWithNested.Nested != m.DerivedWithNested.Nested433 assert m.BaseWithNested.Nested.get_name() == "BaseWithNested::Nested"