#511: problem with inheritance + overwritten def_static
()
| 304 | |
| 305 | |
| 306 | def test_override_static(): |
| 307 | """#511: problem with inheritance + overwritten def_static""" |
| 308 | b = m.MyBase.make() |
| 309 | d1 = m.MyDerived.make2() |
| 310 | d2 = m.MyDerived.make() |
| 311 | |
| 312 | assert isinstance(b, m.MyBase) |
| 313 | assert isinstance(d1, m.MyDerived) |
| 314 | assert isinstance(d2, m.MyDerived) |
| 315 | |
| 316 | |
| 317 | def test_implicit_conversion_life_support(): |
nothing calls this directly
no test coverage detected