()
| 229 | |
| 230 | |
| 231 | def test_multiple_inheritance_virtbase(): |
| 232 | class MITypePy(m.Base12a): |
| 233 | def __init__(self, i, j): |
| 234 | m.Base12a.__init__(self, i, j) |
| 235 | |
| 236 | mt = MITypePy(3, 4) |
| 237 | assert mt.bar() == 4 |
| 238 | assert m.bar_base2a(mt) == 4 |
| 239 | assert m.bar_base2a_sharedptr(mt) == 4 |
| 240 | |
| 241 | |
| 242 | def test_mi_static_properties(): |