PageRenderTime 19ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-26/SWIG/Examples/test-suite/python/template_extend1_runme.py

#
Python | 10 lines | 7 code | 3 blank | 0 comment | 2 complexity | b0732d02de27674b6d65f80b57e9d6e3 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1import template_extend1
 2
 3a = template_extend1.lBaz()
 4b = template_extend1.dBaz()
 5
 6if a.foo() != "lBaz::foo":
 7    raise RuntimeError
 8
 9if b.foo() != "dBaz::foo":
10    raise RuntimeError