PageRenderTime 22ms CodeModel.GetById 15ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Python | 8 lines | 6 code | 2 blank | 0 comment | 2 complexity | ce9d7857b6ef387163619966236096df MD5 | raw file
1import ret_by_value
2
3a = ret_by_value.get_test()
4if a.myInt != 100:
5    raise RuntimeError
6
7if a.myShort != 200:
8    raise RuntimeError