PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/trunk/Examples/test-suite/python/enum_template_runme.py

#
Python | 7 lines | 5 code | 2 blank | 0 comment | 2 complexity | 9eeec665e5b7cbf4b1521a5e178d17ab MD5 | raw file
1import enum_template
2if enum_template.MakeETest() != 1:
3  raise RuntimeError
4
5if enum_template.TakeETest(0) != None:
6  raise RuntimeError
7