PageRenderTime 34ms CodeModel.GetById 1ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. import ret_by_value
  2. a = ret_by_value.get_test()
  3. if a.myInt != 100:
  4. raise RuntimeError
  5. if a.myShort != 200:
  6. raise RuntimeError