PageRenderTime 24ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
Python | 10 lines | 7 code | 3 blank | 0 comment | 2 complexity | 490a40f2a7f0f88d4a75e83b0785687f MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. import template_extend2
  2. a = template_extend2.lBaz()
  3. b = template_extend2.dBaz()
  4. if a.foo() != "lBaz::foo":
  5. raise RuntimeError
  6. if b.foo() != "dBaz::foo":
  7. raise RuntimeError