PageRenderTime 28ms CodeModel.GetById 27ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-29/SWIG/Examples/test-suite/python/extend_template_runme.py

#
Python | 8 lines | 6 code | 2 blank | 0 comment | 2 complexity | 2e78ab062931aacbb812fbae98368d83 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1import extend_template
2
3f = extend_template.Foo_0()
4if f.test1(37) != 37:
5    raise RuntimeError
6
7if f.test2(42) != 42:
8    raise RuntimeError