PageRenderTime 43ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Python | 11 lines | 8 code | 3 blank | 0 comment | 1 complexity | 56590d97abb47e26b43b31a6f0d8b540 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. import preproc_defined
  2. if preproc_defined.call_checking() != 1:
  3. raise RuntimeError
  4. d = preproc_defined.Defined()
  5. d.defined = 10
  6. preproc_defined.thing(10)
  7. preproc_defined.stuff(10)
  8. preproc_defined.bumpf(10)