PageRenderTime 96ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1.3.35/Examples/test-suite/python/typemap_namespace_runme.py

#
Python | 8 lines | 5 code | 3 blank | 0 comment | 2 complexity | edac3f7a4a73cfc67e33048d1b7a8d5b MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. from typemap_namespace import *
  2. if test1("hello") != "hello":
  3. raise RuntimeError
  4. if test2("hello") != "hello":
  5. raise RuntimeError