/trunk/Examples/test-suite/python/template_extend2_runme.py
Python | 10 lines | 7 code | 3 blank | 0 comment | 2 complexity | 490a40f2a7f0f88d4a75e83b0785687f MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- import template_extend2
- a = template_extend2.lBaz()
- b = template_extend2.dBaz()
- if a.foo() != "lBaz::foo":
- raise RuntimeError
- if b.foo() != "dBaz::foo":
- raise RuntimeError