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

# · Python · 4 lines · 3 code · 1 blank · 0 comment · 1 complexity · 2646a48a5adeb221f7ab1330e9ed0a4c MD5 · raw file

  1. import python_varargs_typemap
  2. if (python_varargs_typemap.testfunc(1, 2.0, "three") != "three") :
  3. raise RuntimeError("testfunc failed!")