Home
last modified time | relevance | path

Searched refs:BaseWithNested (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_class.cpp445 struct BaseWithNested { in TEST_SUBMODULE() struct
449 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()
Dtest_class.py431 assert issubclass(m.DerivedWithNested, m.BaseWithNested)
432 assert m.BaseWithNested.Nested != m.DerivedWithNested.Nested
433 assert m.BaseWithNested.Nested.get_name() == "BaseWithNested::Nested"