/trunk/Examples/test-suite/python/multi_import_runme.py
Python | 18 lines | 15 code | 3 blank | 0 comment | 5 complexity | 41d0a8664408bd8b39433cb320e254c7 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- import multi_import_a
- import multi_import_b
- x = multi_import_b.XXX()
- if x.testx() != 0:
- raise RuntimeError
- y = multi_import_b.YYY()
- if y.testx() != 0:
- raise RuntimeError
- if y.testy() != 1:
- raise RuntimeError
- z = multi_import_a.ZZZ()
- if z.testx() != 0:
- raise RuntimeError
- if z.testz() != 2:
- raise RuntimeError