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

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

#
Python | 18 lines | 15 code | 3 blank | 0 comment | 5 complexity | 41d0a8664408bd8b39433cb320e254c7 MD5 | raw file
 1import multi_import_a
 2import multi_import_b
 3
 4x = multi_import_b.XXX()
 5if x.testx() != 0:
 6	raise RuntimeError
 7
 8y = multi_import_b.YYY()
 9if y.testx() != 0:
10	raise RuntimeError
11if y.testy() != 1:
12	raise RuntimeError
13
14z = multi_import_a.ZZZ()
15if z.testx() != 0:
16	raise RuntimeError
17if z.testz() != 2:
18	raise RuntimeError