PageRenderTime 27ms CodeModel.GetById 19ms app.highlight 7ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-15/SWIG/Examples/test-suite/python/extend_template_ns_runme.py

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